Merge pull request #36854 from AnassKartit/patch-1
Update install-kubectl-windows.mdpull/37341/head
commit
4c6003344a
|
@ -29,8 +29,7 @@ The following methods exist for installing kubectl on Windows:
|
|||
Or if you have `curl` installed, use this command:
|
||||
|
||||
```powershell
|
||||
curl -LO "https://dl.k8s.io/release/{{< param "fullversion" >}}/bin/windows/amd64/kubectl.exe"
|
||||
```
|
||||
curl.exe -LO "https://dl.k8s.io/release/{{< param "fullversion" >}}/bin/windows/amd64/kubectl.exe"
|
||||
|
||||
{{< note >}}
|
||||
To find out the latest stable version (for example, for scripting), take a look at [https://dl.k8s.io/release/stable.txt](https://dl.k8s.io/release/stable.txt).
|
||||
|
@ -41,7 +40,7 @@ The following methods exist for installing kubectl on Windows:
|
|||
Download the `kubectl` checksum file:
|
||||
|
||||
```powershell
|
||||
curl -LO "https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubectl.exe.sha256"
|
||||
curl.exe -LO "https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubectl.exe.sha256"
|
||||
```
|
||||
|
||||
Validate the `kubectl` binary against the checksum file:
|
||||
|
@ -151,7 +150,7 @@ Below are the procedures to set up autocompletion for PowerShell.
|
|||
1. Download the latest release with the command:
|
||||
|
||||
```powershell
|
||||
curl -LO "https://dl.k8s.io/release/{{< param "fullversion" >}}/bin/windows/amd64/kubectl-convert.exe"
|
||||
curl.exe -LO "https://dl.k8s.io/release/{{< param "fullversion" >}}/bin/windows/amd64/kubectl-convert.exe"
|
||||
```
|
||||
|
||||
1. Validate the binary (optional)
|
||||
|
@ -159,7 +158,7 @@ Below are the procedures to set up autocompletion for PowerShell.
|
|||
Download the `kubectl-convert` checksum file:
|
||||
|
||||
```powershell
|
||||
curl -LO "https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubectl-convert.exe.sha256"
|
||||
curl.exe -LO "https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubectl-convert.exe.sha256"
|
||||
```
|
||||
|
||||
Validate the `kubectl-convert` binary against the checksum file:
|
||||
|
|
Loading…
Reference in New Issue