Skip to content

Commit

Permalink
Merge pull request #340 from rjsadow/master
Browse files Browse the repository at this point in the history
doc: use dl.k8s.io, not kubernetes-release bucket
  • Loading branch information
k8s-ci-robot authored May 19, 2023
2 parents 21e5990 + eef2799 commit a8847ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions site/content/en/installation/kubectl/binaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ description: >
2. Download the latest release with the command:

```bash
curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/$os/kubectl"
curl -LO "https://dl.k8s.io/release/$(curl -sL https://dl.k8s.io/release/stable.txt)/bin/$os/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 -sL https://dl.k8s.io/release/stable.txt)` portion of the command with the specific version.

For example, to download version v1.19.0 on Linux, type:

```bash
curl -LO "https://storage.googleapis.com/kubernetes-release/release/v1.19.0/bin/$os/kubectl"
curl -LO "https://dl.k8s.io/release/v1.19.0/bin/$os/kubectl"
```

3. Make the kubectl binary executable.
Expand Down

0 comments on commit a8847ee

Please sign in to comment.