The npd component checks the health status of kube-proxy via the /healthz interface
|
kubeProxyHealthCheckEndpoint = fmt.Sprintf("http://%s/healthz", net.JoinHostPort(hostAddress, kubeProxyPort)) |
When cluster-autoscaler performs elastic scaling down, it will add the ToBeDeletedByClusterAutoscaler taint to nodes. When a node has the ToBeDeletedByClusterAutoscaler taint, the /healthz interface of kube-proxy will consider itself to be in an unhealthy state.
https://github.com/kubernetes/kubernetes/blob/d4672d9a9db5687c4561048c4840ef1f8ccb3c75/pkg/proxy/healthcheck/proxy_health.go#L188
The elastic scaling down of cluster-autoscaler is standard behavior and should not trigger any alarms, as it can cause confusion.
The npd component checks the health status of kube-proxy via the /healthz interface
node-problem-detector/pkg/healthchecker/types/types.go
Line 83 in 2baac6c
When cluster-autoscaler performs elastic scaling down, it will add the ToBeDeletedByClusterAutoscaler taint to nodes. When a node has the ToBeDeletedByClusterAutoscaler taint, the /healthz interface of kube-proxy will consider itself to be in an unhealthy state.
https://github.com/kubernetes/kubernetes/blob/d4672d9a9db5687c4561048c4840ef1f8ccb3c75/pkg/proxy/healthcheck/proxy_health.go#L188
The elastic scaling down of cluster-autoscaler is standard behavior and should not trigger any alarms, as it can cause confusion.