在 kubernetes worker 节点上执行 kubeadm reset 命令在 Unmounting mounted directories in "/var/lib/kubelet"
阶段卡住(hang)
[reset] No kubeadm config, using etcd pod spec to get data directory
[reset] No etcd config found. Assuming external etcd
[reset] Please, manually reset etcd to prevent further issues
[reset] Stopping the kubelet service
[reset] Unmounting mounted directories in "/var/lib/kubelet"
请问如何解决这个问题?
是想 kubeadm reset 之后重新加入集群
通过手动删除下面的2个文件夹解决了
rm -rf /var/lib/kubelet
rm -rf /etc/kubernetes