Skip to content

Commit

Permalink
fix: mount /var/run/netns that kind will use it to store network ns f…
Browse files Browse the repository at this point in the history
…iles

(cherry picked from commit 9611599)
  • Loading branch information
oilbeater committed Nov 25, 2019
1 parent 093770d commit 3b793d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions yamls/kube-ovn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ spec:
volumeMounts:
- mountPath: /run/openvswitch
name: host-run-ovs
- mountPath: /var/run/netns
name: host-ns
mountPropagation: HostToContainer
readinessProbe:
exec:
command:
Expand Down Expand Up @@ -179,6 +182,9 @@ spec:
- name: cni-bin
hostPath:
path: /opt/cni/bin
- name: host-ns
hostPath:
path: /var/run/netns

---
kind: DaemonSet
Expand Down

0 comments on commit 3b793d4

Please sign in to comment.