Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Latest commit

 

History

History
23 lines (15 loc) · 942 Bytes

known-limitations.md

File metadata and controls

23 lines (15 loc) · 942 Bytes

Known Limitations

## hostPort doesn't work before Kubernetes 1.7.0

This is a known issue with Kubernetes while using CNI with no available workaround for kube-aws. hostPort does not work if hostNetwork: false.

If you want to deploy an Ingress controller such as nginx-ingress-controller which requires hostPort, just set hostNetwork: true:

spec:
   hostNetwork: true
   containers:
   - image: gcr.io/google_containers/nginx-ingress-controller:0.8.3
     name: nginx-ingress-lb

This is fixed in Kubernetes 1.7.0 and later.

Relevant kube-aws issue: does hostPort not work on kube-aws/CoreOS?

See the related upstream issue for more information.

This limitation is also documented in the official Kubernetes doc.