kubernetes nginx ingress //健康检查不起作用

时间:2016-10-25 15:54:00

标签: kubernetes google-cloud-platform kubernetes-health-check

有一个'工作'基于以下示例的集群:https://github.com/jetstack/kube-lego/tree/master/examples/nginx

使用RC的上述配置,在查看负载均衡器的后端运行状况检查时,我一直有以下错误:This load balancer has no health check, so traffic will be sent to all instances regardless of their status.虽然他们确实有健康检查,并且默认后端已启动(部署和服务)

在nginx上有一个服务,以便在lb ingresses上使用静态ips;这个人也应该痊愈吗?

此处捕获以防万一:enter image description here

我可能缺乏有关健康检查的基本知识;但阅读文档并没有帮助解决这个问题

帮助表示赞赏;最好

1 个答案:

答案 0 :(得分:2)

请注意,LB健康检查是gce基础设施的一部分,与k8s内部pod健康检查不同。

请参阅Is the Google Container Engine Kubernetes Service LoadBalancer sending traffic to unresponsive hosts?