Skip to content

Commit 1bfdfe9

Browse files
authored
Merge pull request #46571 from carlory/update-kubeadm-swap-130
update kubeadm prerequisites
2 parents c4b0975 + b64b45c commit 1bfdfe9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

content/en/docs/reference/command-line-tools-reference/feature-gates/node-swap.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ stages:
1313
- stage: beta
1414
defaultValue: false
1515
fromVersion: "1.28"
16+
toVersion: "1.29"
17+
- stage: beta
18+
defaultValue: true
19+
fromVersion: "1.30"
1620
---
1721
Enable the kubelet to allocate swap memory for Kubernetes workloads on a node.
1822
Must be used with `KubeletConfiguration.failSwapOn` set to false.

content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ see the [Creating a cluster with kubeadm](/docs/setup/production-environment/too
2727
* Unique hostname, MAC address, and product_uuid for every node. See [here](#verify-mac-address) for more details.
2828
* Certain ports are open on your machines. See [here](#check-required-ports) for more details.
2929
* Swap configuration. The default behavior of a kubelet was to fail to start if swap memory was detected on a node.
30-
Swap has been supported since v1.22. And since v1.28, Swap is supported for cgroup v2 only; the NodeSwap feature
31-
gate of the kubelet is beta but disabled by default.
30+
See [Swap memory management](/docs/concepts/architecture/nodes/#swap-memory) for more details.
3231
* You **MUST** disable swap if the kubelet is not properly configured to use swap. For example, `sudo swapoff -a`
3332
will disable swapping temporarily. To make this change persistent across reboots, make sure swap is disabled in
3433
config files like `/etc/fstab`, `systemd.swap`, depending how it was configured on your system.

0 commit comments

Comments
 (0)