Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
NodePort mode adds port to host header rule, but shouldn't #552
I am using NodePort mode, so that I can point my own ALB at HAProxy. Using NodePort, I correctly get a service on node port 31485.
In my ingress, I have host based routing, for example
As you can see, its adding the node port at the end. Which means that routing doesnt actually work correctly.
Is there anyway to remove the nodeport in the host routing?
This is done, since the expectation is that with NodePort mode (usually in bare metal cluster), NodePorts are used by external clients. Since you are using a manually manged ALB, this is causing problem. We are going to add the following annotation that you can apply to disable this behavior in next release (4.0.0):