Skip to content

Nodes fix swap memory part 1 #92409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/nodes-nodes-swap-memory.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Enabling swap memory can negatively impact workload performance and out-of-resou
To enable swap memory, create a `kubeletconfig` custom resource (CR) to set the `swapbehavior` parameter. You can set limited or unlimited swap memory:

* Limited: Use the `LimitedSwap` value to limit how much swap memory workloads can use. Any workloads on the node that are not managed by {product-title} can still use swap memory. The `LimitedSwap` behavior depends on whether the node is running with Linux control groups link:https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v1/index.html[version 1 (cgroups v1)] or link:https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html[version 2 (cgroup v2)]:
** cgroup v1: {product-title} workloads can use any combination of memory and swap, up to the pod's memory limit, if set.
** cgroup v2: {product-title} workloads cannot use swap memory.
** cgroup v2: {product-title} workloads can use any combination of memory and swap, up to the pod's memory limit, if set.
** cgroup v1: {product-title} workloads cannot use swap memory.

* Unlimited: Use the `UnlimitedSwap` value to allow workloads to use as much swap memory as they request, up to the system limit.

Expand Down