Skip to content

Commit

Permalink
Ensure cilium can exec into pod networking namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ameukam committed Feb 19, 2025
1 parent 89af977 commit 54c9cef
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1439,6 +1439,11 @@ spec:
hostPath:
path: /var/run/cilium
type: DirectoryOrCreate
# To exec into pod network namespaces
- name: cilium-netns
hostPath:
path: /var/run/netns
type: DirectoryOrCreate
# To keep state between restarts / upgrades for bpf maps
- name: bpf-maps
hostPath:
Expand All @@ -1464,6 +1469,9 @@ spec:
hostPath:
path: /etc/cni/net.d
type: DirectoryOrCreate
- name: cilium-netns
mountPath: /var/run/cilium/netns
mountPropagation: HostToContainer
# To be able to load kernel modules
- name: lib-modules
hostPath:
Expand Down

0 comments on commit 54c9cef

Please sign in to comment.