Service Discovery

Coordination & Service Discovery

微服务的服务注册和服务发现.

  • coredns
  • etcd
  • zookeeper

Etcd

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

类似的有consul和zoomkeeper.

etcdctl

使用证书访问:

$ 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

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

zookeeper

Designed by Canux