From 9b1ac0ffcb5d0a7d10670074e181ef32a6372b15 Mon Sep 17 00:00:00 2001 From: Frank Ritchie Date: Fri, 11 Dec 2020 11:27:31 -0500 Subject: [PATCH] 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 --- ceph-mon/Chart.yaml | 2 +- ceph-mon/templates/daemonset-mon.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ceph-mon/Chart.yaml b/ceph-mon/Chart.yaml index bc4ec3017..df38e13c3 100644 --- a/ceph-mon/Chart.yaml +++ b/ceph-mon/Chart.yaml @@ -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 ... diff --git a/ceph-mon/templates/daemonset-mon.yaml b/ceph-mon/templates/daemonset-mon.yaml index d1048db3d..9b9cac250 100644 --- a/ceph-mon/templates/daemonset-mon.yaml +++ b/ceph-mon/templates/daemonset-mon.yaml @@ -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 }}