From d6ba23f7a87d7c6edb004797b04a213209e635a7 Mon Sep 17 00:00:00 2001 From: Lichao <106173220+lichao127@users.noreply.github.com> Date: Wed, 12 Apr 2023 22:17:26 -0700 Subject: [PATCH] add instructions to disable swap --- .../production-environment/tools/kubeadm/install-kubeadm.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md b/content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md index 01f0d75f7d..eae4cb3a7d 100644 --- a/content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md +++ b/content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md @@ -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.