Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
docs: Upgrade etcd
Browse files Browse the repository at this point in the history
Fix the env var file with change in removal of rkt.

Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
  • Loading branch information
surajssd committed Sep 11, 2020
1 parent 2c6ac35 commit 727ad3c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/how-to-guides/upgrade-etcd.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ We can use `etcdctl` client to verify the state of etcd cluster.

```bash
# Find the endpoint of this node's etcd:
export endpoint=$(grep ETCD_ADVERTISE_CLIENT_URLS \
/etc/systemd/system/etcd-member.service.d/40-etcd-cluster.conf | cut -d"=" -f3 | tr -d '"')
export endpoint=$(grep ETCD_ADVERTISE_CLIENT_URLS /etc/kubernetes/etcd.env | cut -d"=" -f2)
export flags="--cacert=/etc/ssl/etcd/etcd-client-ca.crt \
--cert=/etc/ssl/etcd/etcd-client.crt \
--key=/etc/ssl/etcd/etcd-client.key"
Expand Down

0 comments on commit 727ad3c

Please sign in to comment.