kubeadm reset # on debian base sudo apt-get purge kubeadm kubectl kubelet kubernetes-cni kube* #on centos basesudo yum remove kubeadm kubectl kubelet kubernetes-cni kube*# on debian basesudo apt-get autoremove#on centos basesudo yum autoremove sudo rm -rf ~/.kube
kubectl drain <node name> — delete-local-data — force — ignore-daemonsetskubectl delete node <node name>