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
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -231,6 +231,16 @@ We recommend using a separate disk for your swap partition. With [encryption](#s
231
231
If swap is on a partition or the root filesystem, workloads can interfere with system processes needing to write to disk.
232
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
233
233
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
+
234
244
### Steps to Calculate Swap Limit
235
245
236
246
1.**Calculate the container's memory proportionate to the node's memory:**
0 commit comments