Missing code formatting (#9754)
This block of code was missing the correct formatting Changed the formatting Rechanged it Sorry I got kind of mixed up with the highlighting, this is what you meant right? three backticks formatting Inserted newlines to fix code formatting Re-added white space Yet more whitespace adjustment
This commit is contained in:
committed by
k8s-ci-robot
parent
f870f53d45
commit
d778e1ef26
@@ -48,7 +48,9 @@ Use a single-node etcd cluster only for testing purpose.
|
|||||||
|
|
||||||
1. Run the following:
|
1. Run the following:
|
||||||
|
|
||||||
|
```sh
|
||||||
./etcd --listen-client-urls=http://$PRIVATE_IP:2379 --advertise-client-urls=http://$PRIVATE_IP:2379
|
./etcd --listen-client-urls=http://$PRIVATE_IP:2379 --advertise-client-urls=http://$PRIVATE_IP:2379
|
||||||
|
```
|
||||||
|
|
||||||
2. Start Kubernetes API server with the flag `--etcd-servers=$PRIVATE_IP:2379`.
|
2. Start Kubernetes API server with the flag `--etcd-servers=$PRIVATE_IP:2379`.
|
||||||
|
|
||||||
@@ -64,8 +66,9 @@ For an example, consider a five-member etcd cluster running with the following c
|
|||||||
|
|
||||||
1. Run the following:
|
1. Run the following:
|
||||||
|
|
||||||
|
```sh
|
||||||
./etcd --listen-client-urls=http://$IP1:2379, http://$IP2:2379, http://$IP3:2379, http://$IP4:2379, http://$IP5:2379 --advertise-client-urls=http://$IP1:2379, http://$IP2:2379, http://$IP3:2379, http://$IP4:2379, http://$IP5:2379
|
./etcd --listen-client-urls=http://$IP1:2379, http://$IP2:2379, http://$IP3:2379, http://$IP4:2379, http://$IP5:2379 --advertise-client-urls=http://$IP1:2379, http://$IP2:2379, http://$IP3:2379, http://$IP4:2379, http://$IP5:2379
|
||||||
|
```
|
||||||
|
|
||||||
2. Start Kubernetes API servers with the flag `--etcd-servers=$IP1:2379, $IP2:2379, $IP3:2379, $IP4:2379, $IP5:2379`.
|
2. Start Kubernetes API servers with the flag `--etcd-servers=$IP1:2379, $IP2:2379, $IP3:2379, $IP4:2379, $IP5:2379`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user