By Tyranthosaur
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!
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.
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.