How-to deliver a new public IP to a k8s cluster so a k8s service that requires UDP port (Bind DNS server) can use it?
I know how to expose an IP address in K8s services by defining ‘externalIPs’ attribute. It just won’t work unless the IP address is available to the cluster.
I wonder if I can attach a Floating IP to a K8s service. So far I was not able to. I need an equivalent solution, somehow.
I even tried DO’s load balancer but I could not configure it for UDP traffic.
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!
You are correct. Unfortunately, our LB’s do not support UDP traffic at this time.
The node IP addresses should not be relied upon to stay consistent. Whenever a node is replaced or upgraded the IP will be changed.
To accomplish this you would likely need to set up an external proxy to keep track of the current node IP’s and forward traffic accordingly. Because of these limitations you may have better luck hosting your UDP service on our standard droplet product.
Regards,
John Kwiatkoski Senior Developer Support Engineer - Kubernetes
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
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
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.