Is it possible to enable IPv6 on DOKS Loadbalancers?

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!

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
February 21, 2023
Accepted Answer

Hey @hiddejansen,

At the moment Load balancers do not support IPv6. For more information about the limits, you can take a look at the following page:

It looks like someone has had the same idea before and has posted it on our Product Ideas board. The best thing to do would be to head over and add your vote to it, as well as adding any additional information in the comments for exactly what you’d like to see implemented:

Hope that helps!

- Bobby.

This comment has been deleted

    Try DigitalOcean for free

    Click below to sign up and get $200 of credit to try our products over 60 days!

    Sign up

    Featured on Community

    Get our biweekly newsletter

    Sign up for Infrastructure as a Newsletter.

    Hollie's Hub for Good

    Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

    Become a contributor

    Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

    Welcome to the developer cloud

    DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

    Learn more
    DigitalOcean Cloud Control Panel