Skip to content

Commit a438c3a

Browse files
committed
update swap
1 parent 1a3edcd commit a438c3a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,16 @@ We recommend using a separate disk for your swap partition. With [encryption](#s
231231
If swap is on a partition or the root filesystem, workloads can interfere with system processes needing to write to disk.
232232
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
233233

234+
##### Swap as the default
235+
236+
We will turn the feature on for Beta 2 but the default setting will be `NoSwap`.
237+
238+
Enabling Swap on nodes is a pretty advanced feature which requires tuning and knowledge of the kernel.
239+
We do not recommend swap on all nodes so we still suggest `--fail-swap-on=true` for most cases of Kubernetes.
240+
241+
If there is interest in trying out this feature, we suggest provisioning swap space on the worker node along with setting ``--fail-swap-on=false`
242+
and restarting kubelet.
243+
234244
### Steps to Calculate Swap Limit
235245

236246
1. **Calculate the container's memory proportionate to the node's memory:**

0 commit comments

Comments
 (0)