Skip to content

Commit

Permalink
Update configure-upgrade-etcd.md
Browse files Browse the repository at this point in the history
  • Loading branch information
steveperry-53 authored Oct 26, 2017
1 parent 15c7ded commit 184e06a
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions docs/tasks/administer-cluster/configure-upgrade-etcd.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ Use a single-node etcd cluster only for testing purpose.

1. Run the following:

```shell
./etcd --client-listen-urls=http://$PRIVATE_IP:2379 --client-advertise-urls=http://$PRIVATE_IP:2379
```
./etcd --client-listen-urls=http://$PRIVATE_IP:2379 --client-advertise-urls=http://$PRIVATE_IP:2379

2. Start Kubernetes API server with the flag `--etcd-servers=$PRIVATE_IP:2379`.

Expand Down Expand Up @@ -130,12 +128,10 @@ Though etcd keeps unique member IDs internally, it is recommended to use a uniqu

4. Start the newly added member on a machine with the IP `10.0.0.4`:

```shell
export ETCD_NAME="member4"
export ETCD_INITIAL_CLUSTER="member2=http://10.0.0.2:2380,member3=http://10.0.0.3:2380,member4=http://10.0.0.4:2380"
export ETCD_INITIAL_CLUSTER_STATE=existing
etcd [flags]
```
export ETCD_NAME="member4"
export ETCD_INITIAL_CLUSTER="member2=http://10.0.0.2:2380,member3=http://10.0.0.3:2380,member4=http://10.0.0.4:2380"
export ETCD_INITIAL_CLUSTER_STATE=existing
etcd [flags]

5. Do either of the following:

Expand Down

0 comments on commit 184e06a

Please sign in to comment.