Question
Deploying ingress-nginx on new cluster creates load balancer that fails health check
When I deploy ingress-nginx, a load balancer is created that points to two nodes. One healthy and one down.
Using this command:
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.40.2/deploy/static/provider/do/deploy.yaml
Following this guide:
https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nginx-ingress-with-cert-manager-on-digitalocean-kubernetes
Do I need to configure this further? Not sure where the problem is, or how one is successful and one fails. I’ve done this many times with the same results.
Steps to reproduce:
- Create a cluster (I did 2 nodes)
- run
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.40.2/deploy/static/provider/do/deploy.yaml
- Check new load balancer
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.
×