From 849a3cd453ef906b5290b154f80bd50aa01f155e Mon Sep 17 00:00:00 2001 From: adrianc Date: Tue, 18 Jun 2024 16:25:18 +0300 Subject: [PATCH] Add mountPropagation to host-var-lib-kubelet This is needed to avoid issues with volume unmounts when (other) pods exit as by default kubernetes mounts as private. Signed-off-by: adrianc --- deployments/multus-daemonset-thick.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/deployments/multus-daemonset-thick.yml b/deployments/multus-daemonset-thick.yml index 16cfee252..1995a970b 100644 --- a/deployments/multus-daemonset-thick.yml +++ b/deployments/multus-daemonset-thick.yml @@ -180,6 +180,7 @@ spec: mountPath: /var/lib/cni/multus - name: host-var-lib-kubelet mountPath: /var/lib/kubelet + mountPropagation: HostToContainer - name: host-run-k8s-cni-cncf-io mountPath: /run/k8s.cni.cncf.io - name: host-run-netns