diff --git a/docs/07-bootstrapping-etcd.md b/docs/07-bootstrapping-etcd.md index 7f22ea1..0429c32 100644 --- a/docs/07-bootstrapping-etcd.md +++ b/docs/07-bootstrapping-etcd.md @@ -75,7 +75,7 @@ ExecStart=/usr/local/bin/etcd \\ --client-cert-auth \\ --initial-advertise-peer-urls https://${INTERNAL_IP}:2380 \\ --listen-peer-urls https://${INTERNAL_IP}:2380 \\ - --listen-client-urls https://${INTERNAL_IP}:2379,http://127.0.0.1:2379 \\ + --listen-client-urls https://${INTERNAL_IP}:2379,https://127.0.0.1:2379 \\ --advertise-client-urls https://${INTERNAL_IP}:2379 \\ --initial-cluster-token etcd-cluster-0 \\ --initial-cluster controller-0=https://10.240.0.10:2380,controller-1=https://10.240.0.11:2380,controller-2=https://10.240.0.12:2380 \\ @@ -114,7 +114,11 @@ sudo systemctl start etcd List the etcd cluster members: ``` -ETCDCTL_API=3 etcdctl member list +sudo ETCDCTL_API=3 etcdctl member list \ + --endpoints=https://127.0.0.1:2379 \ + --cacert=/etc/etcd/ca.pem \ + --cert=/etc/etcd/kubernetes.pem \ + --key=/etc/etcd/kubernetes-key.pem ``` > output