Fix etcd installation command in kubeadm tutorial ()

* 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
pull/8689/merge
Tim Fogarty 2018-05-22 23:51:32 -07:00 committed by k8s-ci-robot
parent cea9d904e6
commit 54d6c6aa28
1 changed files with 3 additions and 4 deletions
content/en/docs/setup/independent

View File

@ -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: