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:
Aleksandr Didenko
2016-10-05 10:55:50 +02:00
parent 15f6a38e31
commit c3e318c2ed
6 changed files with 10 additions and 19 deletions

View File

@@ -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