Process Exporter: Override Children Parameter
Currently resource usage of subprocesses is added in to their parent's usage. And this will provide option to override. Change-Id: I22c36e5a6f354f6318e72798ce9865011a85b2af
This commit is contained in:
parent
35ff844cbb
commit
35872a9f25
@ -72,6 +72,9 @@ spec:
|
||||
{{ tuple $envAll $envAll.Values.pod.resources.process_exporter | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
||||
{{ dict "envAll" $envAll "application" "metrics" "container" "process_exporter" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 10 }}
|
||||
args:
|
||||
{{- if .Values.conf.children }}
|
||||
- -children={{ .Values.conf.children }}
|
||||
{{- end }}
|
||||
- -procnames
|
||||
- {{ .Values.conf.processes }}
|
||||
ports:
|
||||
|
@ -159,3 +159,4 @@ manifests:
|
||||
|
||||
conf:
|
||||
processes: dockerd,kubelet,kube-proxy,bgsagent,bgscollect,bgssd
|
||||
children: true
|
||||
|
Loading…
Reference in New Issue
Block a user