My current cloud provider offers a load balancer solution that accepts both IPv4 and IPv6 traffic. It has operating modes that allow HTTP(S) traffic to be forwarded from either incoming protocols (both v4 and v6), to the respective v4 or v6 address, or forwarding it to one or the other. (that is, forwarding incoming IPv6 traffic to IPv4 on the backend, or vice versa)
I’m preparing to migrate some of the services I’ve got running there, to a DigitalOcean Managed Kubernetes cluster. My
Deployment has a
Service and I’ve created an
Ingress to expose this to the outside world. (using
ingress-nginx) This has created a load balancer in the cluster, and I am able to access the
Service over IPv4. However, I’m noticing that this load balancer was created with an IPv4 address only. I’m unable to find any IPv6 address for this load balancer in the DigitalOcean control panel or via
kubectl, but I would like to be able to accept IPv6 traffic on these services.
So my question is, would it be possible to enable IPv6 for an
Ingress / DOKS load balancer? And if yes, how do I do that?
I read something about dual-stack networking on the official Kubernetes documentation, but I’m not sure if that applies here. I must admit, networking isn’t my strong suit, so any help is appreciated!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.