Merge "Running agents on all nodes."
This commit is contained in:
commit
ded5de14fa
@ -52,8 +52,12 @@ spec:
|
||||
{{ tuple $envAll "process_exporter" "metrics" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
||||
spec:
|
||||
serviceAccountName: {{ $serviceAccountName }}
|
||||
{{ if .Values.pod.tolerations.process_exporter.enabled }}
|
||||
{{ tuple $envAll "process_exporter" | include "helm-toolkit.snippets.kubernetes_tolerations" | indent 6 }}
|
||||
{{ else }}
|
||||
nodeSelector:
|
||||
{{ .Values.labels.process_exporter.node_selector_key }}: {{ .Values.labels.process_exporter.node_selector_value }}
|
||||
{{ end }}
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
initContainers:
|
||||
|
@ -79,6 +79,14 @@ pod:
|
||||
limits:
|
||||
memory: "1024Mi"
|
||||
cpu: "2000m"
|
||||
tolerations:
|
||||
process_exporter:
|
||||
enabled: false
|
||||
tolerations:
|
||||
- key: node-role.kubernetes.io/master
|
||||
operator: Exists
|
||||
- key: node-role.kubernetes.io/node
|
||||
operator: Exists
|
||||
|
||||
dependencies:
|
||||
dynamic:
|
||||
|
Loading…
Reference in New Issue
Block a user