查看所有数据
ETCDCTL_API=3 /opt/soft/etcd/bin/etcdctl --cacert=/opt/soft/etcd/ssl/ca.pem --cert=/opt/soft/etcd/ssl/server.pem --key=/opt/soft/etcd/ssl/server-key.pem --endpoints=https://10.10.101.188:2379,https://10.10.101.187:2379,https://10.10.101.186:2379 get / --prefix --keys-only
删除key
ETCDCTL_API=3 /opt/soft/etcd/bin/etcdctl --cacert=/opt/soft/etcd/ssl/ca.pem --cert=/opt/soft/etcd/ssl/server.pem --key=/opt/soft/etcd/ssl/server-key.pem --endpoints=https://10.10.101.188:2379,https://10.10.101.187:2379,https://10.10.101.186:2379 del key
查看健康状态
ETCDCTL_API=3 /opt/soft/etcd/bin/etcdctl --write-out=table --cacert=/opt/soft/etcd/ssl/ca.pem --cert=/opt/soft/etcd/ssl/server.pem --key=/opt/soft/etcd/ssl/server-key.pem --endpoints=https://10.10.101.188:2379,https://10.10.101.187:2379,https://10.10.101.186:2379 endpoint health