Hi, I have created a Kubernetes cluster with the help of DOs’ Kubernetes service. Every time I create a load balancer service inside my cluster, a load balancer from DO gets created which is a paid service. We currently don’t need that load-balancing performance, and I am not sure how to spin up a free load balancer.
Is there some way this can be achieved?
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!
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.
I use a service mesh, Linkerd, which is on the DO Marketplace and easily installable in existing clusters. Then I use an ingress controller to handle the external traffic coming in. It can sustain drains and upgrades with Linkerd. It does so by using the Ingress kind and proper annotations.
https://linkerd.io/2/tasks/using-ingress/
https://linkerd.io/2/features/load-balancing/
https://marketplace.digitalocean.com/apps/linkerd
Hi there,
You can change the services type to NodePort or ClusterIP if you do not want a load balancer to be provisioned.
You can then choose whatever tools you wish to manage traffic externally to those services.
However node IPs are guaranteed to change during upgrades and recycles so setting static IPs in an external load balancer is not recommended.
We currently do not offer free load balancers.
Regards,
John
@deepinthought Thank you for the reply!
I went and created nginx-ingress controller! One load balancer is perf fine! Will check linkerd in the future!