Kubernetes Internal Ingress

8/7/2019

I use GKE and i'm looking a way to create an internal HTTP L7 ingress with private ip. The Application of the helm chart nginx provision a public L7 with public ip.

-- user3620514
kubernetes
nginx-ingress

1 Answer

8/7/2019

Annotate the nginx controller service so the LB provisioner, gives you an internal IP Address.

Try this on your nginx-ingress chart values.yaml:

controller:
  service:
    annotations:
      cloud.google.com/load-balancer-type: "Internal"

Reference:

-- gonzalesraul
Source: StackOverflow