etcd基本命令
添加节点
ETCDCTL_API=3 etcdctl --user=root:@123# member add etcd-cluster-1 --peer-urls=http://etcd-cluster-1.etcd-cluster.default:2380
删除节点
ETCDCTL_API=3 etcdctl member remove 7c95d18beecb442a
查看成员
ETCDCTL_API=3 etcdctl member list -w table
查看自身节点健康情况
ETCDCTL_API=3 etcdctl endpoint health -w table
查看集群状态
ETCDCTL_API=3 etcdctl endpoint status --cluster -w table
查看集群健康情况
ETCDCTL_API=3 etcdctl endpoint --cluster health -w table
努力生活,融于自然