How to bind service to port 80 on the host, while using CNI

11/17/2017

I'm trying to bind a service to port 80 on the host, but I'm using CNI. So hostPort won't work. NodePort will only allow port 30000-32000. And I don't have access to a cloud LB.

Thanks

-- user3628891
kubernetes

1 Answer

11/20/2017

I think in this case you need to setup the some revese proxy (haproxy or nginix) to redirect port 80 taffic on the node to service ip.

-- sfgroups
Source: StackOverflow