Skip to content

Commit

Permalink
Add mountPropagation to host-var-lib-kubelet
Browse files Browse the repository at this point in the history
This is needed to avoid issues with volume unmounts
when (other) pods exit as by default kubernetes mounts
as private.

Signed-off-by: adrianc <[email protected]>
  • Loading branch information
adrianchiris committed Jun 18, 2024
1 parent aff99fc commit 849a3cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deployments/multus-daemonset-thick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 849a3cd

Please sign in to comment.