Don't mount netns or /run from host system
If we mount /run or /run/netns then it leads to broken netns on a host system level. Also when we remove pods those netns bind files remain. This aslo causes problems for Kubernetes + Calico: https://github.com/projectcalico/libcalico/issues/148 Closes bug: #1630202 Change-Id: I37c0783de6d6264ccf73648a1d15b23fdc31ad99
This commit is contained in:
@@ -10,9 +10,9 @@ service:
|
||||
readiness: "true"
|
||||
liveness: "true"
|
||||
volumes:
|
||||
- name: run
|
||||
- name: ovs-socket
|
||||
type: host
|
||||
path: /run
|
||||
path: /run/openvswitch
|
||||
- name: modules
|
||||
type: host
|
||||
path: /lib/modules
|
||||
|
||||
Reference in New Issue
Block a user