Can I run Nginx outside a kuberntes cluster and have it discover ingresses?

10/25/2018

I have a bare metal cluster. Right now I have traefik running on a machine, outside the cluster, playing reverse proxy. Basically it just points its backend to the cluster api-server. It will discover ingresses and works fine. But it doesn't support TCP :-(

Can I do the same with Nginx? Is there a way to run it outside the cluster and point its backend to the kubernetes api-server to discover ingresses?

-- tdh
kubernetes
kubernetes-ingress
nginx

1 Answer

11/7/2018

So what I did was run the ingress controller inside the cluster and tie it to a node which has the needed DNS entries pointing towards it with HostNetwork.

-- tdh
Source: StackOverflow