Memcached: 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: I43bea4cd9e91f9d27a846879dfc329cfa26f8ee7 Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
parent
62dce1852e
commit
2da8ad396a
@ -43,6 +43,7 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
{{ tuple $envAll "memcached" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
{{ tuple $envAll "memcached" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
||||||
spec:
|
spec:
|
||||||
|
shareProcessNamespace: true
|
||||||
serviceAccountName: {{ $rcControllerName | quote }}
|
serviceAccountName: {{ $rcControllerName | quote }}
|
||||||
affinity:
|
affinity:
|
||||||
{{ tuple $envAll "memcached" "server" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }}
|
{{ tuple $envAll "memcached" "server" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }}
|
||||||
|
@ -40,6 +40,7 @@ spec:
|
|||||||
{{ tuple $envAll "prometheus_memcached_exporter" "exporter" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
{{ tuple $envAll "prometheus_memcached_exporter" "exporter" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
||||||
namespace: {{ .Values.endpoints.prometheus_memcached_exporter.namespace }}
|
namespace: {{ .Values.endpoints.prometheus_memcached_exporter.namespace }}
|
||||||
spec:
|
spec:
|
||||||
|
shareProcessNamespace: true
|
||||||
serviceAccountName: {{ $rcControllerName | quote }}
|
serviceAccountName: {{ $rcControllerName | quote }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ .Values.labels.prometheus_memcached_exporter.node_selector_key }}: {{ .Values.labels.prometheus_memcached_exporter.node_selector_value | quote }}
|
{{ .Values.labels.prometheus_memcached_exporter.node_selector_key }}: {{ .Values.labels.prometheus_memcached_exporter.node_selector_value | quote }}
|
||||||
|
Loading…
Reference in New Issue
Block a user