<p>When creating an ingress resource in GCE using the Nginx ingress controller, the ingress resource is stuck on "Creating ingress". Any custom annotations appear to be lost, but I can access the URL defined by the ingress.</p>

<p>What could be causing this?</p>

<p><a href="https://i.stack.imgur.com/u3uLe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u3uLe.png" alt="enter image description here"></a></p>

<p>This turned out to be because I was sending the annotation</p>

<pre><code>nginx.ingress.kubernetes.io/ssl-redirect: false
</code></pre>

<p>instead of </p>

<pre><code>nginx.ingress.kubernetes.io/ssl-redirect: "false"
</code></pre>

<p>According to <a href="https://github.com/kubernetes/ingress-nginx/issues/1990" rel="nofollow noreferrer">https://github.com/kubernetes/ingress-nginx/issues/1990</a>, the Nginx controller only accepts strings containing "true" or "false". By sending boolean values, GCE was hanging.</p>

<p>Interestingly there were no errors indicating a problem, and I could access the ingress URL, which made debugging the problem quote painful.</p>
