You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/nodes-nodes-swap-memory.adoc
+2-2
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,8 @@ Enabling swap memory can negatively impact workload performance and out-of-resou
20
20
To enable swap memory, create a `kubeletconfig` custom resource (CR) to set the `swapbehavior` parameter. You can set limited or unlimited swap memory:
21
21
22
22
* 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)]:
23
-
** cgroup v1: {product-title} workloads can use any combination of memory and swap, up to the pod's memory limit, if set.
24
-
** cgroup v2: {product-title} workloads cannot use swap memory.
23
+
** cgroup v2: {product-title} workloads can use any combination of memory and swap, up to the pod's memory limit, if set.
24
+
** cgroup v1: {product-title} workloads cannot use swap memory.
25
25
26
26
* Unlimited: Use the `UnlimitedSwap` value to allow workloads to use as much swap memory as they request, up to the system limit.
0 commit comments