Skip to content

Commit f418fd7

Browse files
committed
Daemonset: Move bidirectional mount from /run/bpfman to /run/bpfman/csi
The bidirectional mount in /run/bpfman caused issues because /run/bpfman/csi was mounted inside there, resulting in an increasing number of mounts on the host system (double the number of mounts for every restart of the container). Moving the bidirectional statement from /run/bpfman to /run/bpfman/csi should fix this while preserving the requirement for bidirectional mounts for CSI. Reported-at: #468 Signed-off-by: Andreas Karis <[email protected]>
1 parent fc7ea84 commit f418fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/bpfman-deployment/daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ spec:
7878
mountPath: /run/bpfman-sock
7979
- name: runtime
8080
mountPath: /run/bpfman
81-
mountPropagation: Bidirectional
8281
# This mount is needed to attach tracepoint programs
8382
- name: host-debug
8483
mountPath: /sys/kernel/debug
@@ -92,6 +91,7 @@ spec:
9291
mountPropagation: Bidirectional
9392
- mountPath: /run/bpfman/csi
9493
name: socket-dir
94+
mountPropagation: Bidirectional
9595
- mountPath: /var/lib/kubelet/pods
9696
mountPropagation: Bidirectional
9797
name: mountpoint-dir

0 commit comments

Comments
 (0)