From 54d6c6aa28b8fc35d2375f3424216ba5edebebb0 Mon Sep 17 00:00:00 2001 From: Tim Fogarty Date: Tue, 22 May 2018 23:51:32 -0700 Subject: [PATCH] Fix etcd installation command in kubeadm tutorial (#8664) * Fix etcd installation command in kubeadm tutorial Shells interpolate variables before running commands, so setting the ETCD_VERSION variable must be separated from the command that interpolates it. Otherwise an empty string will be interpolated. The rm command isn't necessary - the output from curl is piped directly to tar. * Update stated default etcd version for K8s 1.10 1.10 is the most recent version of K8s and the default etcd server version for it is 3.1.12 * Fix non-US English typo Style guide states US English should be used --- content/en/docs/setup/independent/high-availability.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/content/en/docs/setup/independent/high-availability.md b/content/en/docs/setup/independent/high-availability.md index 1c1a7e7abf..bc9bfe4a5b 100644 --- a/content/en/docs/setup/independent/high-availability.md +++ b/content/en/docs/setup/independent/high-availability.md @@ -222,13 +222,12 @@ Please select one of the tabs to see installation instructions for the respectiv 1. First you will install etcd binaries like so: ```shell - ETCD_VERSION="v3.1.12" curl -sSL https://github.com/coreos/etcd/releases/download/${ETCD_VERSION}/etcd-${ETCD_VERSION}-linux-amd64.tar.gz | tar -xzv --strip-components=1 -C /usr/local/bin/ - rm -rf etcd--linux-amd64* + ETCD_VERSION="v3.1.12"; curl -sSL https://github.com/coreos/etcd/releases/download/${ETCD_VERSION}/etcd-${ETCD_VERSION}-linux-amd64.tar.gz | tar -xzv --strip-components=1 -C /usr/local/bin/ ``` - It is worth noting that etcd v3.1.10 is the preferred version for Kubernetes v1.9. For other versions of Kubernetes please consult [the changelog](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md). + It is worth noting that etcd v3.1.12 is the preferred version for Kubernetes v1.10. For other versions of Kubernetes please consult [the changelog](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md). - Also, please realise that most distributions of Linux already have a version of etcd installed, so you will be replacing the system default. + Also, please realize that most distributions of Linux already have a version of etcd installed, so you will be replacing the system default. 1. Next, generate the environment file that systemd will use: