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/43pull/331/head
parent
7f56aa523e
commit
28976086ff
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue