Skip to content

Commit c42b2b8

Browse files
authored
Merge pull request #40654 from lichao127/patch-1
Add command to turn off swap in install-kubeadm.md
2 parents 3d38acd + d6ba23f commit c42b2b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +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 disabled. You **MUST** disable swap in order for the kubelet to work properly.
30+
* For example, `sudo swapoff -a` will disable swapping temporarily. To make this change persistent across reboots, make sure swap is disabled in config files like `/etc/fstab`, `systemd.swap`, depending how it was configured on your system.
3031

3132
<!-- steps -->
3233

0 commit comments

Comments
 (0)