I have two GKE clusters, both running 1.20.8-gke.900
for Control Plane as well as nodes, and using preemptible nodes.
According to GKE documentation
On preemptible GKE nodes running versions 1.20 or later, the kubelet graceful node shutdown feature is enabled by default. As a result, kubelet detects preemption and gracefully terminates Pods.
However, on one of these clusters when doing kubectl get pods --all-namespaces
I see many pods in SHUTDOWN
state, such as
kube-system metrics-server-v0.3.6-9c5bbf784-w8cs2 0/2 Shutdown 0 2d20h
On the other one, there are no such pods, although both have the same config as far as I know (the only difference is that the one without those pods is a private cluster, the other public, but this should not make no difference?)
Is there any setting or config difference that I have missed?