add instructions to disable swap

pull/40654/head
Lichao 2023-04-12 22:17:26 -07:00 committed by lichao127
parent f6cf4cdc29
commit d6ba23f7a8
No known key found for this signature in database
GPG Key ID: F9277D26D38C3D9A
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ see the [Creating a cluster with kubeadm](/docs/setup/production-environment/too
* Unique hostname, MAC address, and product_uuid for every node. See [here](#verify-mac-address) for more details.
* Certain ports are open on your machines. See [here](#check-required-ports) for more details.
* Swap disabled. You **MUST** disable swap in order for the kubelet to work properly.
* 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.
<!-- steps -->