Ingress, static ip


#1

Hello

I am new to GKE in Kubernetes:)

I have change LB to NodePort and on top i am using Ingress. What bothers me is that LB service was using static ip address with a name gs-web-static-ip. Now i have removed LB service, created nodePort svc and use ingress to route traffic to my container.
I have set ingress to get the same ip address that LB service had with annotation kubernetes.io/ingress.global-static-ip-name: gs-web-static-ip. The thing is that it get different ip and not then one that is defined withim gs-web-static-ip.

thank you


#2

Ingress requires a GLOBAL static IP, but LB services use a regional one. The same IP doesn’t work.


#3

hello

thank you. I noticed that also by my self :slight_smile: