K8s卸载
sudo kubeadm reset -fsystemctl stop kubelet kubeadm kubectlyum -y remove kubelet kubeadm kubectlsudo rm -rvf $HOME/.kubesudo rm -rvf ~/.kube/sudo rm -rvf /etc/kubernetes/sudo rm -rvf /etc/systemd/syst
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
更多推荐
所有评论(0)