Skip to content

Commit d2ae666

Browse files
authored
[zh] Fix issues in install-kubectl-windows.md (#42470)
1 parent 591911a commit d2ae666

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,10 @@ The following methods exist for installing kubectl on Windows:
5454
-->
5555
### 用 curl 在 Windows 上安装 kubectl {#install-kubectl-binary-with-curl-on-windows}
5656

57-
<!--
58-
1. Download the [latest release {{< skew currentPatchVersion >}}](https://dl.k8s.io/release/v{{< skew currentPatchVersion >}}/bin/windows/amd64/kubectl.exe).
59-
-->
6057
<!--
6158
1. Download the latest {{< skew currentVersion >}} patch release:
6259
[kubectl {{< skew currentPatchVersion >}}](https://dl.k8s.io/release/v{{< skew currentPatchVersion >}}/bin/windows/amd64/kubectl.exe).
6360
-->
64-
6561
1. 下载最新补丁版 {{< skew currentVersion >}}:
6662
[kubectl {{< skew currentPatchVersion >}}](https://dl.k8s.io/release/v{{< skew currentPatchVersion >}}/bin/windows/amd64/kubectl.exe)。
6763

@@ -103,6 +99,7 @@ The following methods exist for installing kubectl on Windows:
10399
<!--
104100
- Using Command Prompt to manually compare `CertUtil`'s output to the checksum file downloaded:
105101
-->
102+
106103
- 在命令行环境中,手工对比 `CertUtil` 命令的输出与校验和文件:
107104

108105
```cmd
@@ -114,6 +111,7 @@ The following methods exist for installing kubectl on Windows:
114111
- Using PowerShell to automate the verification using the `-eq` operator to
115112
get a `True` or `False` result:
116113
-->
114+
117115
- 用 PowerShell 自动验证,用运算符 `-eq` 来直接取得 `True` 或 `False` 的结果:
118116
119117
```powershell
@@ -125,7 +123,6 @@ The following methods exist for installing kubectl on Windows:
125123
126124
1. Test to ensure the version of `kubectl` is the same as downloaded:
127125
-->
128-
129126
3. 将 `kubectl` 二进制文件夹追加或插入到你的 `PATH` 环境变量中。
130127
131128
4. 测试一下,确保此 `kubectl` 的版本和期望版本一致:
@@ -323,6 +320,7 @@ kubectl 为 Bash、Zsh、Fish 和 PowerShell 提供自动补全功能,可以
323320
<!--
324321
- Using Command Prompt to manually compare `CertUtil`'s output to the checksum file downloaded:
325322
-->
323+
326324
- 用提示的命令对 `CertUtil` 的输出和下载的校验和文件进行手动比较。
327325

328326
```cmd

0 commit comments

Comments
 (0)