Kubernetes swap memory management on nodes
Answer: On Linux, a node with swap enabled will not start the kubelet by default. Windows nodes need swap space, and the kubelet stays down when that swap is disabled. You need to pick a swap behavior to use, and nodes can differ.
Notes
The docs also point to a tutorial on configuring swap memory on Kubernetes nodes.
Reference list
kubeletwill not start on a Linux node that has swap enabled, by default.Windowsnodes require swap space.swap behaviorcan differ from node to node.
See also
Claims
- id: C1 claim: By default the kubelet will not start on a Linux node with swap enabled. source: S1 evidence: "the kubelet will not start on a Linux node that has swap enabled"
- id: C2 claim: Windows nodes require swap space. source: S2 evidence: "Windows nodes require swap space."
- id: C3 claim: Different nodes can use different swap behaviors. source: S2 evidence: "Different nodes in your cluster can use different swap behaviors."
Sources
- [S1] Swap memory management. Kubernetes docs. https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/ . License: CC-BY-4.0. Accessed 2026-11-18.
- [S2] swap-memory-management.md. Kubernetes website. https://raw.githubusercontent.com/kubernetes/website/main/content/en/docs/concepts/cluster-administration/swap-memory-management.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, Swap memory management; Kubernetes website, swap-memory-management.md. 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, Swap memory management; Kubernetes website, swap-memory-management.md. CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors.
Cite this
iinventedlight. 2026. "Kubernetes swap memory management on nodes." iinventedlight Library, iil:note:hpm0d2ya, version of 2026-11-18. https://iinventedlight.com/library/notes/kubernetes-swap/. License: CC-BY-4.0.
@misc{iil_note_hpm0d2ya,
author = {{iinventedlight}},
title = {{Kubernetes swap memory management on nodes}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-18},
url = {https://iinventedlight.com/library/notes/kubernetes-swap/},
note = {Permanent ID iil:note:hpm0d2ya. 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-swap.table.json (table; CC-BY-4.0)
- kubernetes-swap.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-swap.md.