我有死节点,我可能使用kubectl
而不是microk8s
命令删除它。问题是microk8s status
仍然在数据存储备用节点中显示它。如何将其从集群中删除?
microk8s remove-node 192.168.1.3 --force
Error from server (NotFound): nodes "192.168.1.3" not found
Node 192.168.1.3 does not exist in Kubernetes.
从/var/snap/microk8s/current/var/kubernetes/backend/cluster.yaml
中删除节点安全吗?
发布于 2021-04-08 17:31:12
最后,这似乎是可行的:
microk8s join
添加同名的新节点microk8s leave
从集群中删除节点发布于 2022-02-16 22:42:28
在要从群集运行中删除的(从)节点上:
microk8s leave
在主节点上:
查找要从集群中删除的节点的名称:
microk8s.kubectl get nodes
然后:
microk8s remove-node <name-of-the-node>
https://askubuntu.com/questions/1316899
复制相似问题