etcd

https://github.com/etcd-io/etcd

类似的有consul和zoomkeeper.

etcdctl

使用证书访问:

1
2
3
4
5
6
$ etcdctl \
--cacert=/etc/kubernetes/pki/etcd/ca.crt \
--cert=/etc/kubernetes/pki/etcd/server.crt  \
--key=/etc/kubernetes/pki/etcd/server.key \
--insecure-skip-tls-verify=true \
<command>

查看所有key

1
$ etcdctl get / --prefix --keys-only