Skip to content

Commit 54c9cef

Browse files
committed
Ensure cilium can exec into pod networking namespaces
1 parent 89af977 commit 54c9cef

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

upup/models/cloudup/resources/addons/networking.cilium.io/k8s-1.16-v1.15.yaml.template

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,6 +1439,11 @@ spec:
14391439
hostPath:
14401440
path: /var/run/cilium
14411441
type: DirectoryOrCreate
1442+
# To exec into pod network namespaces
1443+
- name: cilium-netns
1444+
hostPath:
1445+
path: /var/run/netns
1446+
type: DirectoryOrCreate
14421447
# To keep state between restarts / upgrades for bpf maps
14431448
- name: bpf-maps
14441449
hostPath:
@@ -1464,6 +1469,9 @@ spec:
14641469
hostPath:
14651470
path: /etc/cni/net.d
14661471
type: DirectoryOrCreate
1472+
- name: cilium-netns
1473+
mountPath: /var/run/cilium/netns
1474+
mountPropagation: HostToContainer
14671475
# To be able to load kernel modules
14681476
- name: lib-modules
14691477
hostPath:

0 commit comments

Comments
 (0)