[ERROR Swap]: running with swap on is not supported. Please disable swap
While deploying Kubernetes facing this issue as,[ERROR Swap]: running with swap on is not supported. Please disable swap
There are 2 ways to overcome this issue,
– Disable swap from local using swapoff -a command and rerun the previous command.
– kubeadm init –pod-network-cidr
– Usually this error occur at step ,kubeadm init –pod-network-cidr
– ignore the preflight for swap to run kubeadm init, kubeadm init –ignore-preflight-errors Swap
– This will bypass and move forward your deployment.
Tags: mytecharticle,k8s, kubeadm, kubernetes, swapoff , technews