首页 > 其他分享 >etcd member操作

etcd member操作

时间:2022-11-11 16:34:50浏览次数:43  
标签:8e9e05c52164694d http etcdctl member 集群 etcd 操作 节点


查看集群中存在的节点

$ etcdctl member list
8e9e05c52164694d: name=dev-master-01 peerURLs=http://localhost:2380 clientURLs=http://localhost:2379 isLeader=true
删除集群中存在的节点

$ etcdctl member remove 8e9e05c52164694d
Removed member 8e9e05c52164694d from cluster
向集群中新加节点

$ etcdctl member add etcd3 http://192.168.1.100:2380
Added member named etcd3 with ID 8e9e05c52164694d to cluster

标签:8e9e05c52164694d,http,etcdctl,member,集群,etcd,操作,节点
From: https://www.cnblogs.com/gaoyuechen/p/16880907.html

相关文章