← All notes

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

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

Sources

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

Permanent ID: iil:note:dm9fmrca

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.},
}

Markdown

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.

All artifact files (JSON index)

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.