Ingress: Share container PID namespaces under docker
This PS shares pid namespaces for containers in pods under docker, bringing running in this runtime inline with other runc based container backends, allowing the pause process in the pod to act as a reaper. Change-Id: I70965a62b585de31fb953ba98189a84021dba1cb Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
parent
6a9c16862a
commit
99f5fe22f2
@ -39,6 +39,7 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
{{ tuple $envAll "ingress" "error-pages" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
{{ tuple $envAll "ingress" "error-pages" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
||||||
spec:
|
spec:
|
||||||
|
shareProcessNamespace: true
|
||||||
serviceAccountName: {{ $serviceAccountName }}
|
serviceAccountName: {{ $serviceAccountName }}
|
||||||
affinity:
|
affinity:
|
||||||
{{ tuple $envAll "ingress" "error-pages" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }}
|
{{ tuple $envAll "ingress" "error-pages" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }}
|
||||||
|
@ -175,6 +175,7 @@ spec:
|
|||||||
{{ tuple $envAll "ingress" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
{{ tuple $envAll "ingress" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
||||||
app: ingress-api
|
app: ingress-api
|
||||||
spec:
|
spec:
|
||||||
|
shareProcessNamespace: true
|
||||||
serviceAccountName: {{ $serviceAccountName }}
|
serviceAccountName: {{ $serviceAccountName }}
|
||||||
{{- if eq .Values.deployment.type "Deployment" }}
|
{{- if eq .Values.deployment.type "Deployment" }}
|
||||||
affinity:
|
affinity:
|
||||||
|
Loading…
Reference in New Issue
Block a user