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

Posted September 9, 2019 7.3k views
KubernetesDigitalOcean 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

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.

Submit an Answer
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