k8s集群卸载
k8s集群卸载
# 重置 kubeadm
kubeadm reset
rm -rf $HOME/kube
rm -rf /etc/kubernetes/
rm -rf /etc/systemd/system/kubelet.service.d
rm -rf /etc/systemd/system
rm -rf /etc/systemd/system/kubelet.servce
rm -rf /usr/bin/kube*
rm -rf /etc/cni
rm -rf /opt/cni
rm -rf /var/lib/etcd
rm -rf /var/etcd
# 下载kube*
yum remove kube*
# 重新加载yum源
yum repolist
做自己的太阳,成为别人的光!