标签:lib 操作 mem 路径 故障 删除 删除节点 clu dct
故障,etcd某个节点启动报错:etcd failed to get all reachable pages# 列出etcd所有节点
etcdctl member list
# 删除故障节点
etcdctl member remove c13845537406e22f
# 修改配置
sed -i "s#initial-cluster-state: ‘new‘#initial-cluster-state: ‘existing‘" /etc/etcd/etcd.config.yml
# 清理节点数据(下面为默认路径,请根据你的设置修改)
rm -rf /var/lib/etcd/member
etcdctl member add K8s-2 https://192.168.216.242:2380
systemctl restart etcd
标签:lib 操作 mem 路径 故障 删除 删除节点 clu dct
原文地址:https://blog.51cto.com/kusorz/2438374