哪个港口GKE HTTPS Loadbalancer用于健康检查?
请我想知道GKE在执行后端服务的健康检查时使用哪种港口。 它是否使用服务YAML或其他特定端口中声明的服务端口?因为我很难使后卫服务健康。
Please I want to know which port GKE uses when performing the health checks of the backend services.
Does it use the service port declared in the service yaml or other specific ports? Because I'm having trouble getting the back services healthy.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Google Cloud具有用于负载平衡器及其相关健康检查的特殊路线。
促进Google Cloud Health检查探针系统与您的后端VM之间通信的路线存在于您的VPC网络之外,无法删除。但是,您的VPC网络必须具有入口允许防火墙规则允许这些系统的流量。
为了进行健康检查,您必须创建Ingress允许防火墙规则,以便Google Cloud Probers的流量可以连接到您的后端。您可以参考此 documentation 。
Google Cloud has special routes for the load balancers and their associated health checks.
Routes that facilitate communication between Google Cloud health check probe systems and your backend VMs exist outside your VPC network, and cannot be removed. However, your VPC network must have ingress allow firewall rules to permit traffic from these systems.
For health checks to work you must create ingress allow firewall rules so that traffic from Google Cloud probers can connect to your backends. You can refer to this documentation.