Skip to content

Commit

Permalink
doc: use dl.k8s.io, not kubernetes-release bucket
Browse files Browse the repository at this point in the history
Signed-off-by: Ricky Sadowski <richard.j.sadowski@gmail.com>
  • Loading branch information
rjsadow committed May 12, 2023
1 parent 21e5990 commit eef2799
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions site/content/en/installation/kubectl/binaries.md
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 eef2799

Please sign in to comment.