sudo kubeadm reset -f
systemctl stop kubelet kubeadm kubectl
yum -y remove kubelet kubeadm kubectl
sudo rm -rvf $HOME/.kube
sudo rm -rvf ~/.kube/
sudo rm -rvf /etc/kubernetes/
sudo rm -rvf /etc/systemd/system/kubelet.service.d
sudo rm -rvf /etc/systemd/system/kubelet.service
sudo rm -rvf /usr/bin/kube*
sudo rm -rvf /etc/cni
sudo rm -rvf /opt/cni
sudo rm -rvf /var/lib/etcd
sudo rm -rvf /var/lib/cni
sudo rm -rvf /var/lib/etcd
sudo rm -rvf /var/lib/kubelet/
sudo rm -rvf /var/etcd
sudo rm -rvf /var/lib/etcd /var/lib/kubelet /var/lib/dockershim /var/run/kubernetes /var/lib/cni
K8s卸载
最新推荐文章于 2024-09-13 11:03:01 发布