Is it possible in GKE to assign a specific outbound IP Address to a Pod when using Cloud NAT with multiple static IP adresses?

Viewed 711

I'm running a private GKE cluster with Cloud NAT. Cloud NAT has multiple static ip addresses assigned. Is it possible for me to tell a pod to always use one of those ip addresses as source ip?

1 Answers

Answering the question:

Is it possible in GKE to assign a specific outbound IP Address to a Pod when using Cloud NAT with multiple static IP addresses?

In short, no. There is no option to modify the Cloud NAT (and Cloud Router) in a way that would make specific Pods to have a specific IP address when connecting to the external sources.

You could also consider creating a Feature Request for it at:


Additional resources:

Related