Do we need to disable swap off permanently for node not ready - kubelet issue?

jay:
do we need to disable swap off permanently for node not ready - kubelet issue?

Tej_Singh_Rana:
Hello, @jay
> Swap disabled. You MUST disable swap in order for the kubelet to work properly.
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#before-you-begin

jay:
Do we have command to disable swap permanently ?

Tej_Singh_Rana:
To disable from command line:

$ swapoff  -a

To disable permanent, see if any entry is available in the /etc/fstab , comment(#) it.