Kubernetes node swap gives administrators another way to handle memory pressure on cluster nodes. It may help selected workloads absorb short-lived memory spikes, but it does not provide a free capacity increase: swapped memory can make performance less predictable, and Kubernetes does not currently account for swap consumption when scheduling Pods.
The Kubernetes blog identifies an October 5, 2026 announcement titled Scaling Kubernetes Workloads with Node Swap. The announcement text and any announcement-specific benchmarks were not available in the supplied material, so this article focuses on the documented behavior, requirements, and operational decisions that administrators can verify today.
What changed with Kubernetes node swap
Node swap allows a Kubernetes node to use configured swap memory under defined kubelet and container-runtime settings. On Linux, Kubernetes normally refuses to start the kubelet when swap is detected. Administrators must change that behavior before a Linux node can operate with swap enabled.
The documented Linux modes are NoSwap and LimitedSwap. NoSwap is the default and prevents Kubernetes-managed workloads from using swap. LimitedSwap permits workload swap use with limits determined automatically by Kubernetes.
The kubelet coordinates the behavior with the container runtime through the Container Runtime Interface (CRI). The runtime then applies the relevant container-level cgroup settings. That means enabling swap is not only a host operating-system decision: the kubelet, runtime, cgroup behavior, and node image all need to work together.
NodeSwap progressed from Alpha in Kubernetes 1.22 to Beta in 1.28 and is documented as Stable beginning in Kubernetes 1.34. Stable status indicates feature maturity in Kubernetes itself; it does not guarantee identical support in every distribution, managed service, Linux distribution, runtime, or cloud-provided node image.
Requirements differ by operating system
Linux nodes must be individually configured with swap if Linux swap is going to be used. The kubelet configuration includes the failSwapOn setting, which controls whether detected swap causes kubelet startup to fail, and memorySwap.swapBehavior, which selects the workload behavior.
For workloads to use swap on Linux, administrators must allow the kubelet to tolerate detected swap and select LimitedSwap. Leaving the behavior at NoSwap prevents Kubernetes-managed workloads from using swap even when the node has swap configured.
Windows nodes also require swap space, but the exact compatibility of a particular operating system, runtime, node image, or managed Kubernetes service still needs to be checked separately. The supplied documentation establishes the Kubernetes-level requirements, not a universal provider support matrix.
Why workload behavior matters
Swap is best treated as a capacity and stability mechanism for carefully selected workloads, not as a general performance improvement. Moving memory pages to backing storage can introduce latency and reduce predictability, especially when a node is under sustained memory pressure.
The Kubernetes documentation warns that performance can degrade substantially under pressure. It also recommends choosing backing storage carefully and identifies rotational hard-disk drives as unsuitable for performance-sensitive swap use compared with SSDs.
LimitedSwap is intended to constrain workload use rather than expose unrestricted, arbitrary swap configuration for every Pod. The documented behavior also restricts swap use for certain quality-of-service classes and high-priority Pods. Administrators should therefore test the actual workloads that are candidates for swap instead of assuming every Pod will benefit from it.
Security and data protection also require review. The official guidance strongly encourages encrypting swap space because memory pages may be written to storage. This is operational and data-protection guidance; the supplied sources do not classify node swap as a Kubernetes vulnerability or provide a formal security guarantee.
Scheduling is still a major limitation
One of the most important limitations is that Kubernetes 1.37 does not account for swap consumption when scheduling Pods. Pods request memory, but not swap. As a result, the scheduler cannot use a Pod’s expected swap demand as an independent placement resource.
This makes node selection and workload isolation important. Administrators can taint swap-enabled nodes so that only suitable workloads are placed there, or use equivalent placement controls. Node Feature Discovery can help identify nodes provisioned with swap, while node status exposes swap capacity.
These controls do not remove the need for capacity planning. A node can have available swap and still experience degraded application behavior. If memory pressure or swap activity becomes harmful, operators may need to cordon, drain, or replace the node according to their established operational procedures.
Monitoring node and container swap
Swap usage should be visible in the same operational systems used to evaluate memory pressure and workload health. Kubernetes documents resource metrics and summary endpoints that include node_swap_usage_bytes, container_swap_usage_bytes, and container_swap_limit_bytes.
The kubectl top command also supports a --show-swap option. These signals can help administrators distinguish a node with configured swap from one that is actively relying on it, and can show whether individual containers are approaching their applicable limits.
Monitoring should be paired with workload-level testing. A swap-enabled node may avoid some immediate Pod terminations during a memory spike, but that outcome can come with increased latency or reduced throughput. Establish thresholds for investigation and decide in advance when a node should be isolated or replaced.
What you should do before enabling it
- Confirm the Kubernetes version and platform support. NodeSwap is stable from Kubernetes 1.34, but verify the behavior of the specific distribution, managed service, operating system, runtime, and node image you operate.
- Classify candidate workloads. Start with workloads that have large but intermittent memory footprints and can tolerate less predictable storage-backed memory access. Do not assume latency-sensitive or high-priority workloads are appropriate.
- Configure nodes and kubelets deliberately. Provide swap on each intended Linux node, configure
failSwapOnso the kubelet tolerates detected swap, and selectLimitedSwapwhen Kubernetes-managed workloads should be allowed to use it. - Validate the container runtime. Confirm that the runtime supports the required CRI and cgroup behavior for container swap settings.
- Use placement controls. Identify swap-enabled nodes and use taints or equivalent controls when workloads should be restricted to appropriately configured nodes.
- Test under memory pressure. Measure application latency, throughput, eviction or termination behavior, and node health before expanding the configuration.
- Protect swap data and define rollback. Review swap encryption, backing storage, alerting, and the procedures for cordoning, draining, or replacing a node if swap activity causes instability.
Availability and announcement limits
The documented feature maturity makes node swap a viable capability to evaluate, but it does not turn it into a universal recommendation. The current documentation still records the scheduling limitation, and provider-specific compatibility and pricing implications remain undocumented in the supplied material.
Similarly, no quantitative performance improvement, cost saving, or workload benchmark from the October 2026 Kubernetes announcement should be inferred here. Those claims require the announcement text or its referenced benchmark material. For now, the practical decision is workload-specific: enable node swap only where its memory-pressure benefits outweigh the added performance and operational uncertainty.



