LB always reporting failures or unknown health status #549
-
Hi guys, I recently discovered this project and I'm playing with it since a couple of days. and this is what I saw in several previous attempts (where I was experimenting with the control plane LB): I don't know if it could be normal, but honestly I don't expect to see such a thing... if you put in place an LB that expects to find 2 active services behind it, I take for granted that there should be something on the nodes providing them. Can you please help me understand what's going on here? Thanks in advance, keep up this wonderful work you're doing! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Please send the full |
Beta Was this translation helpful? Give feedback.
-
Health Check for Ingress Controller@BlueRaven1975 Cool! Yeah, it can be a bit confusing. But here's what you can do to make sure your LB shows up as healthy! If a hostname is provided, we can perform a health check. The user just needs to take care of the DNS. We already have the option of providing a hostname for the ingress controller via To add a health check, we need to set up a small deployment with a single pod that will respond to health checks. The method you choose to set up the health check will depend on the ingress controller you're using (either Traefik or Nginx). You can either:
You can find all the supported load balancer (LB) annotations in the following link: https://github.com/hetznercloud/hcloud-cloud-controller-manager/blob/main/internal/annotation/load_balancer.go Finally, you will need to set up a small deployment (such as an Nginx "Hello World"), a service to make it available, and an ingress definition to expose it on the If everything is set up correctly, you should see everything turn green! If it works for you and you want to contribute, don't hesitate to open a pull request (PR). If |
Beta Was this translation helpful? Give feedback.
Health Check for Ingress Controller
@BlueRaven1975 Cool! Yeah, it can be a bit confusing. But here's what you can do to make sure your LB shows up as healthy!
If a hostname is provided, we can perform a health check. The user just needs to take care of the DNS. We already have the option of providing a hostname for the ingress controller via
lb_hostname
.To add a health check, we need to set up a small deployment with a single pod that will respond to health checks. The method you choose to set up the health check will depend on the ingress controller you're using (either Traefik or Nginx). You can either:
Set custom Helm values at the bottom of the
kube.tf
file for the ingress controll…