Skip to content

Commit 93ec08c

Browse files
authored
[zh-cn]fix: download kubectl checksum file command
the command is to download kubectl checksum file rather than kubectl binary file Related PR:#43543
1 parent cb58974 commit 93ec08c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh-cn/docs/tasks/tools/install-kubectl-linux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ The following methods exist for installing kubectl on Linux:
100100

101101
{{< tabs name="download_checksum_linux" >}}
102102
{{< tab name="x86-64" codelang="bash" >}}
103-
curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
103+
curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256"
104104
{{< /tab >}}
105105
{{< tab name="ARM64" codelang="bash" >}}
106-
curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl"
106+
curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl.sha256"
107107
{{< /tab >}}
108108
{{< /tabs >}}
109109

0 commit comments

Comments
 (0)