From 99f5fe22f2b0e5926b901efa64c6d4eeb0a81239 Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Mon, 10 Dec 2018 11:21:58 -0600 Subject: [PATCH] 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 --- ingress/templates/deployment-error.yaml | 1 + ingress/templates/deployment-ingress.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/ingress/templates/deployment-error.yaml b/ingress/templates/deployment-error.yaml index 842dbb49c..0a3f6d945 100644 --- a/ingress/templates/deployment-error.yaml +++ b/ingress/templates/deployment-error.yaml @@ -39,6 +39,7 @@ spec: labels: {{ tuple $envAll "ingress" "error-pages" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }} spec: + shareProcessNamespace: true serviceAccountName: {{ $serviceAccountName }} affinity: {{ tuple $envAll "ingress" "error-pages" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }} diff --git a/ingress/templates/deployment-ingress.yaml b/ingress/templates/deployment-ingress.yaml index 4932c1588..f5b448ebb 100644 --- a/ingress/templates/deployment-ingress.yaml +++ b/ingress/templates/deployment-ingress.yaml @@ -175,6 +175,7 @@ spec: {{ tuple $envAll "ingress" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }} app: ingress-api spec: + shareProcessNamespace: true serviceAccountName: {{ $serviceAccountName }} {{- if eq .Values.deployment.type "Deployment" }} affinity: