diff --git a/content/zh/docs/tasks/tools/included/install-kubectl-gcloud.md b/content/zh/docs/tasks/tools/included/install-kubectl-gcloud.md deleted file mode 100644 index e73932851d..0000000000 --- a/content/zh/docs/tasks/tools/included/install-kubectl-gcloud.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: "通过 gcloud 安装 kubectl" -description: "用各个特定操作系统标签页中包含的 gcloud 指令片段安装 kubectl。" -headless: true ---- - - - -kubectl 可以作为 Google Cloud SDK 的一部分被安装。 - - -1. 安装 [Google Cloud SDK](https://cloud.google.com/sdk/)。 -1. 运行安装 `kubectl` 的命令: - - ```shell - gcloud components install kubectl - ``` - - -1. 验证一下,确保安装的是最新的版本: - - ```shell - kubectl version --client - ``` \ No newline at end of file diff --git a/content/zh/docs/tasks/tools/install-kubectl-macos.md b/content/zh/docs/tasks/tools/install-kubectl-macos.md index 4b0a4ec159..902d89e337 100644 --- a/content/zh/docs/tasks/tools/install-kubectl-macos.md +++ b/content/zh/docs/tasks/tools/install-kubectl-macos.md @@ -249,13 +249,6 @@ If you are on macOS and using [Macports](https://macports.org/) package manager, kubectl version --client ``` - -### 作为谷歌云 SDK 的一部分,在 macOS 上安装 {#install-on-macos-as-part-of-the-google-cloud-sdk} - -{{< include "included/install-kubectl-gcloud.md" >}} -