Skip to content

Commit a94f5c7

Browse files
committed
adding unlimited swap drop and more details on separate disk
1 parent d97e2bf commit a94f5c7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

keps/sig-node/2400-node-swap/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,9 @@ The main concern would be swapping in the critical services on the control plane
227227

228228
##### Use of a dedicated disk for swap
229229

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
231233

232234
### Steps to Calculate Swap Limit
233235

@@ -709,6 +711,7 @@ Here are specific improvements to be made:
709711
- Fix flaking/failing swap node e2e jobs.
710712
- Address eviction related [issue](https://github.com/kubernetes/kubernetes/issues/120800) in swap implementation.
711713
- Add `NoSwap` as the default setting.
714+
- Remove `UnlimitedSwap` as a supported option.
712715
- Add e2e test confirming that `NoSwap` will actually not swap
713716
- Add e2e test confirming that swap is used for `LimitedSwap`.
714717
- Document [best practices](#best-practices) for setting up Kubernetes with swap

0 commit comments

Comments
 (0)