K8s 探针 1 秒超时就摘实例 startupProbe 怎么设

陆零云 31 0
K8s 1.27 的集群,订单服务三个副本,某天下午全部重启了两次。kubectl get events 里一排 Unhealthy,Liveness probe failed: Get "http://10.244.1.31:8080/actuator/health": context deadline exceeded。三个副本同时被判死,重启期间 502 堆了四千多条。 探针当时是这么配的:initialDelaySeconds 10,periodS...