The master node kicks the node node out

$ kubectl drain <node name> --delete-local-data --force --ignore-daemonsets

$ kubectl delete node <node name>

Uninstall K8s

kubeadm reset -f
yum remove -y kubeadm-1.16.0-0 kubelet-1.16.0-0
rm -rf /etc/cni /etc/kubernetes /var/lib/dockershim /var/lib/etcd /var/lib/kubelet /var/run/kubernetes ~/.kube/*
systemctl restart docker
Likes(1)

Comment list count 0 Comments

No Comments