Using floating IP for a one node kubernetes cluster and auto updates

September 9, 2019 863 views
Kubernetes DigitalOcean Managed Kubernetes

I really like the Digitalocean kubernetes implementation, so I am thinking to use it also for small projects, where one node is enough. For one node cluster, a floating IP would be enough.

So I am asking you, if it is possible to use a floating IP for a one node cluster and enable auto-updates? Or have I to do it manually every time I want to update the cluster and reassign the floating IP manually?

edited by aha
1 comment
2 Answers

Hi there!

In the current offering this is still a manual process. Floating IP’s are not supported on DOKS clusters due to the dynamic nature of kubernetes nodes. You could look into ways to creative ways to automate this using kubernetes operator framework or using your own LB and manual configuration if you do not wish to pay for a DO LB. Alternatively you would have to update your DNS records manually to whichever the single node’s IP address is.


John Kwiatkoski
Senior Developer Support Engineer

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!