github.com/kubernetes-incubator/kube-aws@v0.16.4/docs/troubleshooting/known-limitations.md (about) 1 # Known Limitations 2 3 ## hostPort doesn't work before Kubernetes 1.7.0 4 5 This is a known issue with Kubernetes while using CNI with no available workaround for kube-aws. `hostPort` does not work if `hostNetwork: false`. 6 7 If you want to deploy an Ingress controller such as `nginx-ingress-controller` which requires `hostPort`, just set `hostNetwork: true`: 8 9 ```yaml 10 spec: 11 hostNetwork: true 12 containers: 13 - image: gcr.io/google_containers/nginx-ingress-controller:0.8.3 14 name: nginx-ingress-lb 15 ``` 16 17 This is fixed in Kubernetes 1.7.0 and later. 18 19 Relevant kube-aws issue: [does hostPort not work on kube-aws/CoreOS?](https://github.com/kubernetes-incubator/kube-aws/issues/91) 20 21 See [the related upstream issue](https://github.com/kubernetes/kubernetes/issues/23920#issuecomment-254918942) for more information. 22 23 This limitation is also documented in [the official Kubernetes doc](http://kubernetes.io/docs/admin/network-plugins/#cni).