etcd --version #查看版本
查看集群状态:
etcdctl --endpoint=http://10...:1159 cluster-health(version:3.3.9)
etcdctl --endpoints=http://10...:1159,10...:1159,10...:1159 endpoint status --write-out=table (version:3.4.13)
查看集群健康状况:
etcdctl --endpoints=http://10...:1159,10...:1159,10...:1159 endpoint health
通过etcd删除deploy
ETCDCTL_API=3 etcdctl get “/registry/deployment” --prefix --keys-only | sed '/^\s$/d’
ETCDCTL_API=3 etcdctl del /registry/deployment/kube-system/calico-kube-controllers