kubernetes nginx ingress // health checks not working

10/25/2016

Having a 'working' cluster based on the following example : https://github.com/jetstack/kube-lego/tree/master/examples/nginx

With the above config for the RC, I keep having the following error when looking at the loadbalancer's backend health check : This load balancer has no health check, so traffic will be sent to all instances regardless of their status. Although they do have an healthcheck, and that the default backend is up (deployment & service)

There is a service atop nginx in order to benefit from using static ips on lb ingresses; should this one be healed too ?

Captured here in case : enter image description here

I might lack of basic knowledge about health checks; but reading the doc did not helped on this to have a clear setup and solve this issue

Help appreciated; best

-- Ben
google-cloud-platform
kubernetes
kubernetes-health-check

1 Answer

10/27/2016

Note that LB health checks are part of the gce infra and differ from k8s internal pod healthchecks.

see Is the Google Container Engine Kubernetes Service LoadBalancer sending traffic to unresponsive hosts?

-- Ram
Source: StackOverflow