Skip to content

Commit 745cd6d

Browse files
authored
Merge pull request #53528 from my-git9/npe-7592
[zh-cn]sync adding-windows-nodes
2 parents df234b4 + 1c0b359 commit 745cd6d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

content/zh-cn/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The version must not have a `v` prefix. For example, use `1.7.22` instead of `v1
8585
-->
8686
然后运行以下命令,但要首先将 `CONTAINERD_VERSION` 替换为
8787
[Containerd 仓库](https://github.com/containerd/containerd/releases) 中的最新发布版本。
88-
版本号不能带有前缀 `v` 。例如,使用 `1.7.22` 而不是 `v1.7.22`:
88+
版本号不能带有前缀 `v`。例如,使用 `1.7.22` 而不是 `v1.7.22`:
8989
9090
```PowerShell
9191
.\Install-Containerd.ps1 -ContainerDVersion CONTAINERD_VERSION
@@ -115,7 +115,7 @@ Run the following commands to install kubeadm and the kubelet:
115115

116116
```PowerShell
117117
curl.exe -LO https://raw.githubusercontent.com/kubernetes-sigs/sig-windows-tools/master/hostprocess/PrepareNode.ps1
118-
.\PrepareNode.ps1 -KubernetesVersion v{{< skew currentVersion >}}
118+
.\PrepareNode.ps1 -KubernetesVersion v{{< skew currentPatchVersion >}}
119119
```
120120

121121
<!--
@@ -268,6 +268,7 @@ Only a few CNI plugins currently support Windows. Below you can find individual
268268
See [Install and Set Up kubectl on Windows](/docs/tasks/tools/install-kubectl-windows/).
269269
-->
270270
目前只有少数 CNI 插件支持 Windows。以下是它们各自的设置说明:
271+
271272
* [Flannel](https://sigs.k8s.io/sig-windows-tools/guides/flannel.md)
272273
* [Calico](https://docs.tigera.io/calico/latest/getting-started/kubernetes/windows-calico/)
273274

0 commit comments

Comments
 (0)