Question

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:

https://docs.digitalocean.com/products/networking/load-balancers/details/limits/

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:

https://ideas.digitalocean.com/network/p/ipv6-for-load-balancers

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

    Become a contributor for community

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

    DigitalOcean Documentation

    Full documentation for every DigitalOcean product.

    Resources for startups and SMBs

    The Wave has everything you need to know about building a business, from raising funding to marketing your product.

    Get our newsletter

    Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

    New accounts only. By submitting your email you agree to our Privacy Policy

    The developer cloud

    Scale up as you grow — whether you're running one virtual machine or ten thousand.

    Get started for free

    Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

    *This promotional offer applies to new accounts only.