浏览代码

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 年之前
父节点
当前提交
d6ac38fa6a
共有 1 个文件被更改,包括 1 次插入0 次删除
  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.