Menu

Kubernetes 1.32: soft eviction stops overriding a pod's grace period. One command to see if your nodes use it.
📰

Kubernetes 1.32: soft eviction stops overriding a pod's grace period. One command to see if your nodes use it.

DEV Community: kubernetes·Silpa Nallagopula·6 days ago
#U1DkkRhv
#devtokubernetes#devto#dev#node#nodes
Long article (319 words) — no AI summary yet.
Reading 0:00
15s threshold

After Nov 26, AWS can move any EKS 1.31 control plane to 1.32 without asking. Managed node groups and self-managed nodes stay on 1.31, and AWS says a cluster upgraded that way can't be rolled back. So the next job is the nodes, and the 1.32 kubelet changes one thing that no Kubernetes object will show you.

What changed

The v1.32.0 changelog lists it under API Change ( PR #122890 ). Before the fix, a pod's terminationGracePeriodSeconds would "always be overwritten by the MaxPodGracePeriodSeconds of the soft eviction".

Up to 1.31, when a node crossed an evictionSoft threshold, the kubelet gave every evicted pod evictionMaxPodGracePeriod seconds to stop, whatever the pod asked for. From 1.32 that value is a ceiling. The kubelet docs call it the maximum allowed grace period for soft eviction. A pod with terminationGracePeriodSeconds: 5 now gets 5 seconds, even when the eviction max is 60.

Hard eviction thresholds don't change.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.