Enable shareProcessNamespace in mon daemonset

This is to address zombie processes found in ceph-mon containers due
to the mon-check.sh monitoring script. With shareProcessNamespace the
/pause container will properly handle the defunct processes.

Change-Id: Ic111fd28b517f4c9b59ab23626753e9c73db1b1b
This commit is contained in:
Frank Ritchie 2020-12-11 11:27:31 -05:00
parent 90a0fd7252
commit 9b1ac0ffcb
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,6 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Ceph Mon
name: ceph-mon
version: 0.1.1
version: 0.1.2
home: https://github.com/ceph/ceph
...

View File

@ -73,6 +73,7 @@ spec:
nodeSelector:
{{ .Values.labels.mon.node_selector_key }}: {{ .Values.labels.mon.node_selector_value }}
hostNetwork: true
shareProcessNamespace: true
dnsPolicy: {{ .Values.pod.dns_policy }}
initContainers:
{{ tuple $envAll "mon" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}