Updated stable and latest Kubernetes versions to be set via a variable

Added method to set a Kubernetes variable to the latest and actual versions.

Updated command with added variable.

Following the https://github.com/kubernetes/kubernetes.github.io/pull/43
pull/331/head
Ihor Dvoretskyi 2016-04-08 16:57:13 -07:00
parent 7f56aa523e
commit 28976086ff
1 changed files with 7 additions and 1 deletions

View File

@ -14,10 +14,16 @@ Here's a diagram of what the final result will look like:
1. You need to have docker installed on one machine.
2. Decide what Kubernetes version to use. Set the `${K8S_VERSION}` variable to
a released version of Kubernetes >= "v1.2.0". If you'd like to use the latest released version of Kubernetes, run the following:
a released version of Kubernetes >= "v1.2.0". If you'd like to use the actual stable version of Kubernetes, run the following:
```sh
export K8S_VERSION=$(curl -sS https://storage.googleapis.com/kubernetes-release/release/stable.txt)
```
and for the latest available version (including unstable releases):
```sh
export K8S_VERSION=$(curl -sS https://storage.googleapis.com/kubernetes-release/release/latest.txt)
```
### Run it