Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

ETCD fault node repair

2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Failure, etcd a node startup error: etcd failed to get all reachable pages solution, delete node, re-add The steps are as follows: first, delete the failed node from the cluster (operation on the normal node) # list all the etcd nodes etcdctl member list# delete the failed node etcdctl member remove c13845537406e22f II, repair the failed node (operation on the failed node) # modify the configuration sed-I "s#initial-cluster-state: 'new'#initial-cluster-state:' existing'" / etc/etcd/etcd.config.yml # Clean the node data (the default path below is Please modify according to your settings) rm-rf / var/lib/etcd/member III, re-add the node (operation on the normal node) etcdctl member add K8s-2 https://192.168.216.242:2380 IV, restart the failed node (operation on the failure node) systemctl restart etcd

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report