In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Etcd has been running for a period of time, recently found that etcd alarm, found that an etcd container is damaged, but etcd does not automatically remove the node; at the same time, K8s added a node, but the node has joined the cluster and needs to be re-added.
[root@A01-R04-I69-12222] # etcdctl-endpoints= "http://etcd-xxxl:4001" cluster-health
Failed to check the health of member ec292d985b723e4 on http://10.187.27.196:4001: Get http://10.187.27.196:4001/health: dial tcp 10.187.27.196:4001: getsockopt: connection timed out
Member ec292d985b723e4 is unreachable: [http://10.187.27.196:4001] are all unreachable
Member 2727dc2f519c6794 is healthy: got healthy result from http://10.185.243.35:4001
Member 4e56d8229082190f is healthy: got healthy result from http://10.187.24.132:4001
Member 5780625be722ce57 is healthy: got healthy result from http://10.187.24.134:4001
Member ec2aa2bbe0c891b7 is healthy: got healthy result from http://10.187.27.200:4001
10.187.27.196 was found to be damaged. Record the id ec292d985b723e4 of the node.
Execute the delete command:
Etcdctl-endpoints= "http://etcd-xxxl:4001" member remove ec292d985b723e4
Removed member ec292d985b723e4 from cluster
Check again, the damaged node has been removed.
Etcdctl-endpoints= "http://etcd-xxxxxxx:4001" cluster-health
Member 2727dc2f519c6794 is healthy: got healthy result from http://10.185.243.35:4001
Member 4e56d8229082190f is healthy: got healthy result from http://10.187.24.132:4001
Member 5780625be722ce57 is healthy: got healthy result from http://10.187.24.134:4001
Member ec2aa2bbe0c891b7 is healthy: got healthy result from http://10.187.27.200:4001
For the new node, first hear the etcd, delete the directory, then restart, and then join the cluster after reboot.
In addition, we deploy etcd through K8s, and other methods are not suitable. In addition, we highly recommend using K8s for deployment.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.