<p>I'm on GKE and I'm trying to expose one application using IPV6 address.</p>
<p>This is my service.yaml</p>
<pre><code>apiVersion: v1
kind: Service
metadata:
  annotations:
    cloud.google.com/neg: '{&quot;ingress&quot;:true}'
  labels:
    run: ubuntu
  name: ubuntu
  namespace: default
spec:
  loadBalancerIP: &quot;&lt;ipv6-address&gt;&quot;
  ipFamilies:
  - IPv6
  ipFamilyPolicy: SingleStack
  ports:
  - nodePort: 30783
    port: 5000
    protocol: TCP
    targetPort: 5001
  selector:
    run: ubuntu
  sessionAffinity: None
  type: LoadBalancer
</code></pre>
<p>This is my gcloud address list</p>
<pre><code>deletable-pzk-reg-ip2-6           &lt;ipv6-address&gt;/96  EXTERNAL                    us-central1  pzksubnet1  RESERVED
</code></pre>
<p>I'm getting this error</p>
<pre><code>  Warning  SyncLoadBalancerFailed  13s (x6 over 2m49s)  service-controller  Error syncing load balancer: failed to ensure load balancer: requested ip &quot;&lt;ipv6-address&gt;&quot; is neither static nor assigned to the LB
</code></pre>
<p>Please help me in debugging this.</p>

pzk
<p>Below troubleshooting steps can help you to resolve your issue:</p>
<ol>
<li><p>IPv6 is only for HTTP, SSL Proxy and TCP proxy and make sure you are using one of them.</p>
</li>
<li><p>The following <a href="https://cloud.google.com/kubernetes-engine/docs/tutorials/configuring-domain-name-static-ip#use_an_ingress" rel="nofollow noreferrer">documentation</a> describes creation of an Ingress resource.</p>
</li>
</ol>
<ul>
<li><p>Using the following reserve a regional external IPv6 address.</p>
<p><code>- gcloud compute addresses create &lt;your-ipv6-address-name&gt; --global --ip-version=IPv6</code></p>
</li>
<li><p>Specify the global ip address in the YAML file using the annotation:</p>
<p><code>kubernetes.io/ingress.global-static-ip-name: &lt;your-ipv6-address-name&gt;</code></p>
</li>
</ul>
<ol start="3">
<li>If you want to use load balancer check the <a href="https://cloud.google.com/kubernetes-engine/docs/concepts/service-load-balancer-parameters#service_parameters" rel="nofollow noreferrer">Load balancer parameters</a>, example: After <a href="https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address#external-ip" rel="nofollow noreferrer">reserving the static IP</a> use it as loadBalancedIP in yaml, the load balancer will be created.</li>
</ol>
<pre><code>apiVersion: v1
kind: Servicemetadata:
  name: my-lb-service
spec:
  type: LoadBalancer
  loadBalancerIP: &lt;ip&gt;
</code></pre>
<p>Attaching a blog <a href="https://www.jhanley.com/blog/google-cloud-http-load-balancer-and-ipv6/" rel="nofollow noreferrer">HTTP on Load Balancer and IPv6</a> authored by John Hanley for your reference.</p>
