Drop hostNetwork from nginx-ingress addon

* Both flannel and Calico support host port via `portmap`
* Allows writing NetworkPolicies that reference ingress pods in `from`
or `to`. HostNetwork pods were difficult to write network policy for
since they could circumvent the CNI network to communicate with pods on
the same node.
This commit is contained in:
Dalton Hubble
2018-06-22 00:46:41 -07:00
parent 0227014fa0
commit 2eaf04c68b
4 changed files with 6 additions and 5 deletions

View File

@ -20,7 +20,6 @@ spec:
spec:
nodeSelector:
node-role.kubernetes.io/node: ""
hostNetwork: true
containers:
- name: nginx-ingress-controller
image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.15.0