<p>I am working with the <a href="https://github.com/kubernetes/ingress-nginx/" rel="nofollow noreferrer">kubernetes/ingress-nginx</a> helm chart and I would like to "DualStack" both IPv4 and IPv6 on the same Ingress controller.</p>

<p>The helm chart <a href="https://github.com/kubernetes/ingress-nginx/blob/a08296256f28d534728624013e775e96b65f6e16/charts/ingress-nginx/values.yaml#L263" rel="nofollow noreferrer">controller.service.loadBalancerIP</a> only accepts a string and I assume that can only be a single IP address. IPv4 or IPv6.</p>

<p><strong>How do I expose my Ingress traffic to both IPv4 or IPv6 on AKS ?</strong></p>

<p><em>(I don't want to set up two ingress controllers for this)</em></p>

<p>To allow both IPv4 and IPV6, the easiest would be to configure two kubernetes service for your NGINX Ingress Controller. </p>

<p>Deploy your Charts normally and augment it with a raw kubernetes manifest based on <a href="https://github.com/kubernetes/ingress-nginx/blob/master/charts/ingress-nginx/templates/controller-service.yaml" rel="nofollow noreferrer">https://github.com/kubernetes/ingress-nginx/blob/master/charts/ingress-nginx/templates/controller-service.yaml</a></p>

<p>one service will default to the IPFamily IPv4 while the second service should set the ipFamily to IPv6</p>

<p><a href="https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services" rel="nofollow noreferrer">https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services</a></p>

<p>This will allow you to have to frontendIP ready to handle the IPv4 and IPv6 traffic. </p>

<p>You could then used the external-DNS service to have both IPs (v4/v6) with the same DNS hostname. (one A record, and one AAAA record). </p>
