<p>I have three nodes in my google container cluster.</p>

<p>Everytime i perform a kubernetes update through the web-ui on the cluster in Google Container Engine. </p>

<p><a href="https://i.stack.imgur.com/aHY5O.png" rel="noreferrer"><img src="https://i.stack.imgur.com/aHY5O.png" alt="Google container cluster update"></a></p>

<p>My external IP's change, and i have to manually assign the previous IP on all three instances in Google Cloud Console.</p>

<p>These are reserved static external IP set up using the following guide.</p>

<p><a href="https://cloud.google.com/compute/docs/configure-ip-addresses#reserve_new_static" rel="noreferrer">Reserving a static external IP</a></p>

<p>Has anyone run into the same problem? Starting to think this is a bug.</p>

<p>Perhaps you can set up the same static outbound external IP for all the instances to use, but i cannot find any information on how to do so, that would be a solution as long as it persists through updates, otherwise we've got the same issue.</p>

<p>It's only updates that cause this, not restarts.</p>

<p>I was having the same problem as you. We found some solutions.</p>

<ul>
<li><a href="https://github.com/doitintl/kubeIP" rel="noreferrer">KubeIP</a> - But this needed a cluster 1.10 or higher. Ours is 1.8</li>
<li>NAT - At GCP documentation they talk about this method. It was too complex for me.</li>
</ul>

<p><strong>Our Solution</strong>
We followed the <a href="https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address#IP_assign" rel="noreferrer">documentation for assign IP addresses on GCE</a>. Used the command line.
Using this method, we didn't have any problems so far. I don't know the risks for it yet. If anyone has an idea, it would be good.</p>

<p>We basically just ran:</p>

<pre><code>gcloud compute instances delete-access-config [INSTANCE_NAME]  --access-config-name [CONFIG_NAME]
gcloud compute instances add-access-config [INSTANCE_NAME] --access-config-name "external-nat-static" --address [IP_ADDRESS]
</code></pre>

<p>If anyone have any feedback on this solution. Please give it to us.
@Ahmet Alp Balkan - Google</p>
