Kubernetes node-pressure eviction - kubelet thresholds, MemoryPressure and which Pods go first
Answer: The kubelet monitors memory, disk space and inodes, and when an eviction threshold is met it fails Pods on the node to reclaim resources. Configure hard thresholds with the evictionHard field, such as memory.available<1Gi.
Example kubelet configuration
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
evictionHard:
memory.available: "500Mi"
nodefs.available: "10%"
imagefs.available: "15%"
nodefs.inodesFree: "5%"
evictionSoft:
memory.available: "1Gi"
evictionSoftGracePeriod:
memory.available: "1m30s"
evictionMaxPodGracePeriod: 60
Hard versus soft thresholds
- A hard eviction threshold has no grace period: the kubelet kills pods immediately without graceful termination.
- A soft threshold pairs a threshold with an administrator-specified grace period; the kubelet returns an error on startup without one.
evictionMaxPodGracePeriodsets the maximum allowed pod termination grace period. - Defaults on Linux include
memory.available<100Mi,nodefs.available<10%,imagefs.available<15%andnodefs.inodesFree<5%. If you change any parameter, the others are not inherited and are set to zero, so specify them all.
What the kubelet ignores
Node-pressure eviction does not respect PodDisruptionBudget or the pod's terminationGracePeriodSeconds. Evicted Pods get phase Failed; a Deployment or StatefulSet then creates replacements.
Node conditions
| Condition | Signal | |---|---| | MemoryPressure | memory.available | | DiskPressure | nodefs., imagefs. or containerfs.* space and inodes | | PIDPressure | pid.available |
Eviction order
Before evicting, the kubelet tries to reclaim node-level resources, such as removing unused container images. It then ranks Pods by whether usage exceeds requests, then Pod Priority, then usage relative to requests.
OOM killer
If the node has an out of memory (OOM) event before the kubelet reclaims memory, it depends on the oom_killer. The kubelet sets oom_score_adj by QoS: -997 for Guaranteed, 1000 for BestEffort, and a value in between for Burstable.
See also
Claims
- id: C1 claim: Hard eviction thresholds have no grace period. source: S2 evidence: "A hard eviction threshold has no grace period."
- id: C2 claim: Node-pressure eviction ignores PodDisruptionBudget. source: S2 evidence: "The kubelet does not respect your configured"
- id: C3 claim: Changing one threshold zeroes the other defaults. source: S1 evidence: "then the values of other parameters will not be inherited as the default values"
Sources
- [S1] Node-pressure Eviction. Kubernetes docs. https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/ . License: CC-BY-4.0. Accessed 2026-11-18.
- [S2] node-pressure-eviction.md (source page). kubernetes/website (GitHub). https://github.com/kubernetes/website/blob/main/content/en/docs/concepts/scheduling-eviction/node-pressure-eviction.md . License: CC-BY-4.0. Accessed 2026-11-18.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Node-pressure Eviction; kubernetes/website (GitHub), node-pressure-eviction.md (source page). CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Node-pressure Eviction; kubernetes/website (GitHub), node-pressure-eviction.md (source page). CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors.
Cite this
iinventedlight. 2026. "Kubernetes node-pressure eviction - kubelet thresholds, MemoryPressure and which Pods go first." iinventedlight Library, iil:note:dm9fmrca, version of 2026-11-18. https://iinventedlight.com/library/notes/kubernetes-node-pressure-eviction/. License: CC-BY-4.0.
@misc{iil_note_dm9fmrca,
author = {{iinventedlight}},
title = {{Kubernetes node-pressure eviction - kubelet thresholds, MemoryPressure and which Pods go first}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-18},
url = {https://iinventedlight.com/library/notes/kubernetes-node-pressure-eviction/},
note = {Permanent ID iil:note:dm9fmrca. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- kubernetes-node-pressure-eviction.table.json (table; CC-BY-4.0)
- kubernetes-node-pressure-eviction.schema.json (schema; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/kubernetes-node-pressure-eviction.md.