From d778e1ef2662dc94c63f0adb8a92bb0eca411629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20A=2E=20I=C3=B1igo?= Date: Mon, 20 Aug 2018 21:00:10 +0200 Subject: [PATCH] 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 --- .../administer-cluster/configure-upgrade-etcd.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md b/content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md index 47423857b8..fbefd3cfcd 100644 --- a/content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md +++ b/content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md @@ -48,7 +48,9 @@ Use a single-node etcd cluster only for testing purpose. 1. Run the following: - ./etcd --listen-client-urls=http://$PRIVATE_IP:2379 --advertise-client-urls=http://$PRIVATE_IP:2379 + ```sh + ./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`. @@ -64,8 +66,9 @@ For an example, consider a five-member etcd cluster running with the following c 1. Run the following: - ./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 - + ```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 + ``` 2. Start Kubernetes API servers with the flag `--etcd-servers=$IP1:2379, $IP2:2379, $IP3:2379, $IP4:2379, $IP5:2379`. @@ -209,7 +212,7 @@ The upgrade procedure described in this document assumes that either: {{< warning >}} **Warning**: Deviations from the assumptions are untested by continuous -integration, and deviations might create undesirable consequences. Additional information about operating an etcd cluster is available [from the etcd maintainers](https://github.com/coreos/etcd/tree/master/Documentation). +integration, and deviations might create undesirable consequences. Additional information about operating an etcd cluster is available [from the etcd maintainers](https://github.com/coreos/etcd/tree/master/Documentation). {{< /warning >}} ### Background