From 93ec08c13dd5a5b53766d9c068d430682995e916 Mon Sep 17 00:00:00 2001 From: zhou <63438915+joejoe233@users.noreply.github.com> Date: Mon, 23 Oct 2023 00:24:40 +0800 Subject: [PATCH] [zh-cn]fix: download kubectl checksum file command the command is to download kubectl checksum file rather than kubectl binary file Related PR:https://github.com/kubernetes/website/pull/43543 --- content/zh-cn/docs/tasks/tools/install-kubectl-linux.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/zh-cn/docs/tasks/tools/install-kubectl-linux.md b/content/zh-cn/docs/tasks/tools/install-kubectl-linux.md index 1a29b967b4eb6..2d0f82fb36dc3 100644 --- a/content/zh-cn/docs/tasks/tools/install-kubectl-linux.md +++ b/content/zh-cn/docs/tasks/tools/install-kubectl-linux.md @@ -100,10 +100,10 @@ The following methods exist for installing kubectl on Linux: {{< tabs name="download_checksum_linux" >}} {{< tab name="x86-64" codelang="bash" >}} - curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" + curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256" {{< /tab >}} {{< tab name="ARM64" codelang="bash" >}} - curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl" + curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl.sha256" {{< /tab >}} {{< /tabs >}}