Fixed bug on downloading kubectl in linux (#15264)
Fixed bug on command for downloading kubectl in linux
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
ae714004b2
commit
3395e5ef71
@@ -27,7 +27,7 @@ You must use a kubectl version that is within one minor version difference of yo
|
|||||||
1. Download the latest release with the command:
|
1. Download the latest release with the command:
|
||||||
|
|
||||||
```
|
```
|
||||||
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
|
curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
|
||||||
```
|
```
|
||||||
|
|
||||||
To download a specific version, replace the `$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)` portion of the command with the specific version.
|
To download a specific version, replace the `$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)` portion of the command with the specific version.
|
||||||
|
|||||||
Reference in New Issue
Block a user