Report this

What is the reason for this report?

Kubernetes load balancer says all but one node is down

Posted on July 20, 2020

I have a Kubernetes cluster with nginx-ingress. When the load balancer comes up it says all nodes except for one are down. I’m assuming this is because only one node has an nginx-ingress controller running on it. What is the standard way to have a healthy load balancer on Kubernetes? Do I need to make sure that the nginx-ingress controller is running on all nodes?



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.

In the Helm chart, you could set controller.kind: DaemonSet instead of Deployment. And that will deploy nginx-controller at every node. So the liveness probe will be passed and all nodes will appear as healthy.

Hi, did you get your application running locally using Docker for Desktop, Kind, or K3d? If not, this is always my very first step in testing out my overall Kubernetes resource definitions. Next, what steps did you follow to install and configure Nginx-Ingress controller for your cluster? BTW, a single Nginx-Ingress controller should be sufficient for your entire cluster because it simply acts as a traffic cop that directs requests to your underlying services. Furthermore, this would work hand-in-hand with a single DO load balancer. Please provide me with additional details about your overall install and configuration of Nginx-Ingress and I would be glad to assist your further. Well, I wish that this helps and all the best.

Think different and code well,

-Conrad

@Tyranthosaur @snesterov I’ll try installing Nginx-Ingress with Helm chart and report back here.

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.