一、集群部署常用
etcdctl member list 查看集群
systemctl restart etcd 重启集群
hostnamectl set-hostname etcd1 修改主机名
systemctl stop firewalld 关闭防火墙step1
setenforce 0 关闭防火墙step2
二、用户操作常用
1. user相关命令
1.1. 添加root用户并设置密码
etcdctl --endpoints http://172.16.22.36:2379 user add root
1.2. 添加非root用户并设置密码
etcdctl --endpoints http://172.16.22.36:2