Merge "Run etcd with shareProcessNamespace: true to reap zombie processes"

This commit is contained in:
Zuul 2020-07-24 19:34:23 +00:00 committed by Gerrit Code Review
commit ddde579dd9
3 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,7 @@ spec:
spec:
{{ dict "envAll" $envAll "application" "anchor" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
hostNetwork: true
shareProcessNamespace: true
{{- if .Values.anchor.dns_policy }}
dnsPolicy: {{ .Values.anchor.dns_policy }}
{{- end }}

View File

@ -54,6 +54,7 @@ metadata:
spec:
{{ dict "envAll" $envAll "application" "etcd" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 2 }}
hostNetwork: true
shareProcessNamespace: true
containers:
- name: etcd
image: {{ .Values.images.tags.etcd }}

View File

@ -36,6 +36,7 @@ spec:
{{ .Values.labels.anchor.node_selector_key }}: {{ .Values.labels.anchor.node_selector_value }}
restartPolicy: Never
hostNetwork: true
shareProcessNamespace: true
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule