How to assign non ephemeral global static ip to API Gateway (GKE Autopilot)

I am looking to assign global static ip to Gateway API config. How do I do that?

I see https://cloud.google.com/kubernetes-engine/docs/how-to/deploying-gateways#gateway_ip_addressing so I think this answers my question for now.

This one only works for internal load balancers, is there a way to configure it for external load balancers?

3 Likes

@videap It works, but you have to modify it using a gateway class that allows external ip. The table listing them is near where link takes you. Here is a resource showing the capabilities of the different gateway classes: https://cloud.google.com/kubernetes-engine/docs/how-to/gatewayclass-capabilities.

4 Likes

You are absolutely right!

Thanks for this doc, I had never read it, I could make it work!

2 Likes