yum -y remove kubelet kubeadm kubectl
kubeadm reset
modprobe -r ipip
lsmod
rm -rf $HOME/.kube
rm -rf ~/.kube/
rm -rf /etc/kubernetes/
rm -rf /etc/systemd/system/kubelet.service.d
rm -rf /etc/systemd/system/kubelet.service
rm -rf /usr/bin/kube*
rm -rf /etc/cni
rm -rf /opt/cni
rm -rf /var/lib/etcd
rm -rf /var/etcd
卸载k8s集群
最新推荐文章于 2024-06-24 20:00:00 发布