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: keps/sig-node/2400-node-swap/README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -227,7 +227,9 @@ The main concern would be swapping in the critical services on the control plane
227
227
228
228
##### Use of a dedicated disk for swap
229
229
230
-
We recommend using a separate disk for your swap partition.
230
+
We recommend using a separate disk for your swap partition. With [encryption](#security-risk), an encrypted disk is recommended for swap.
231
+
If swap is on a partition or the root filesystem, workloads can interfere with system processes needing to write to disk.
232
+
If they occupy the same disk, it's possible processes can overwhelm swap and throw off the I/O of kubelet/cri-o/systemd, which would affect other workloads
231
233
232
234
### Steps to Calculate Swap Limit
233
235
@@ -709,6 +711,7 @@ Here are specific improvements to be made:
709
711
- Fix flaking/failing swap node e2e jobs.
710
712
- Address eviction related [issue](https://github.com/kubernetes/kubernetes/issues/120800) in swap implementation.
711
713
- Add `NoSwap` as the default setting.
714
+
- Remove `UnlimitedSwap` as a supported option.
712
715
- Add e2e test confirming that `NoSwap` will actually not swap
713
716
- Add e2e test confirming that swap is used for `LimitedSwap`.
714
717
- Document [best practices](#best-practices) for setting up Kubernetes with swap
0 commit comments