<p>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?</p>

David
<p>Answering the question:</p>
<blockquote>
<p>Is it possible in GKE to assign a specific outbound IP Address to a Pod when using Cloud NAT with multiple static IP addresses?</p>
</blockquote>
<p><strong>In short, no.</strong> There is no option to modify the <code>Cloud NAT</code> (and <code>Cloud Router</code>) in a way that would make specific <code>Pods</code> to have a specific IP address when connecting to the external sources.</p>
<p>You could also consider creating a Feature Request for it at:</p>
<ul>
<li><em><a href="https://issuetracker.google.com/issues/new?component=187077&amp;template=1162696" rel="nofollow noreferrer">Issuetracker.google.com: Issues: GKE</a></em></li>
</ul>
<hr />
<p>Additional resources:</p>
<ul>
<li><em><a href="https://cloud.google.com/nat/docs/overview#NATwithGKE" rel="nofollow noreferrer">Cloud.google.com: NAT: Docs: Overview: NAT with GKE</a></em></li>
<li><em><a href="https://cloud.google.com/nat/docs/gke-example" rel="nofollow noreferrer">Cloud.google.com: NAT: Docs: GKE example</a></em></li>
</ul>
