uninstall k8s
平常都是直接幹掉VM,剛好遇到不能這麼做時候,發現不知道怎麼移除k8s
如果 Ubuntu 就這樣:
kubeadm reset
sudo apt-get purge kubeadm kubectl kubelet kubernetes-cni kube*
sudo apt-get autoremove
sudo rm -rf ~/.kube
參考資料:
https://stackoverflow.com/questions/44698283/how-to-completely-uninstall-kubernetes