How do you assign a static IP to a GKE Ingress?

1k views Asked by At

I have a GKE cluster setup where I have a service running as an internal load balancer and an ingress for this service. Is there a way to set a static IP to the ingress controller? My reference guide is here: https://cloud.google.com/kubernetes-engine/docs/concepts/ingress

1

There are 1 answers

0
guillaume blaquiere On BEST ANSWER

You can achieve this with one annotation in the ingress definition. You can view more in the documentation