<p>I am attempting to assign a static global LB IP in GCP to an ingress controller (Ingress-Nginx) in GKE but whenever I do so I get an error message regarding</p>
<pre><code>Error syncing load balancer: failed to ensure load balancer: requested ip &quot;&lt;IP_ADDRESS&gt;&quot; is neither static nor assigned to the LB
</code></pre>
<p>If I attempt to set that LB IP value to a static regional IP that is in the same region as my cluster it works. If I don't pass in a LB IP value that also works and an IP is assigned to me.</p>
<p>I am using the command</p>
<p><code>helm install ingress-nginx --set controller.service.loadBalancerIP=&quot;&lt;IP_ADDRESS&gt;&quot; ingress-nginx/ingress-nginx</code></p>
<p>Is there an additional <code>set</code> flag that I am not using or does my GKE cluster need to be in more than 1 region?</p>

rk92
<p>This was due to assigning a global IP to the ingress controller. It should use a regional IP instead of a global one.</p>
