Pārlūkot izejas kodu

Bug 1562783 - Fix egress router setup

- For egress router, we add macvlan interface to a container
and that calls ns.GetNS(pod-netns-path) which expects pid namespace to
be shared with the host. Until we find some mechanism to push this
logic to cni plugin, we need to set hostPID=true for the sdn static pod.
Ravi Sankar Penta 7 gadi atpakaļ
vecāks
revīzija
d6ac38fa6a
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      roles/openshift_sdn/files/sdn.yaml

+ 1 - 0
roles/openshift_sdn/files/sdn.yaml

@@ -31,6 +31,7 @@ spec:
       # as all pods.
       serviceAccountName: sdn
       hostNetwork: true
+      hostPID: true
       containers:
       # The network container launches the openshift-sdn process, the kube-proxy, and the local DNS service.
       # It relies on an up to date node-config.yaml being present.