Skip to content

Commit 477b5e1

Browse files
committed
[zh-cn] sync install-kubeadm windows
Signed-off-by: xin.li <[email protected]>
1 parent 738f936 commit 477b5e1

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

content/zh-cn/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -330,17 +330,22 @@ These instructions are for Kubernetes {{< skew currentVersion >}}.
330330
-->
331331
2. 下载用于 Kubernetes 软件包仓库的公共签名密钥。所有仓库都使用相同的签名密钥,因此你可以忽略URL中的版本:
332332

333+
<!--
334+
# If the folder `/etc/apt/keyrings` does not exist, it should be created before the curl command, read the note below.
335+
# sudo mkdir -p -m 755 /etc/apt/keyrings
336+
-->
333337
```shell
338+
# 如果 `/etc/apt/keyrings` 目录不存在,则应在 curl 命令之前创建它,请阅读下面的注释。
339+
# sudo mkdir -p -m 755 /etc/apt/keyrings
334340
curl -fsSL https://pkgs.k8s.io/core:/stable:/{{< param "version" >}}/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
335341
```
336342

337343
{{< note >}}
338344
<!--
339-
In releases older than Debian 12 and Ubuntu 22.04, `/etc/apt/keyrings` does not exist by default;
340-
you can create it by running `sudo mkdir -m 755 /etc/apt/keyrings`
345+
In releases older than Debian 12 and Ubuntu 22.04, folder `/etc/apt/keyrings` does not exist by default, and it should be created before the curl command.
341346
-->
342-
Debian 12 和 Ubuntu 22.04 之前的早期版本中,默认情况下不存在 `/etc/apt/keyrings` 目录;
343-
你可以通过运行 `sudo mkdir -m 755 /etc/apt/keyrings` 来创建此目录
347+
在低于 Debian 12 和 Ubuntu 22.04 的发行版本中,`/etc/apt/keyrings` 默认不存在。
348+
应在 curl 命令之前创建它
344349
{{< /note >}}
345350

346351
<!--

content/zh-cn/docs/tasks/debug/debug-cluster/windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ content_type: concept
3737
{{< note >}}
3838
<!--
3939
If using containerd as your container runtime the pause image is specified in the
40-
`plugins.plugins.cri.sandbox_image` field of the of config.toml configration file.
40+
`plugins.plugins.cri.sandbox_image` field of the of config.toml configuration file.
4141
-->
4242
如果你在使用 containerd 作为你的容器运行时,那么 pause 镜像在 config.toml 配置文件的
4343
`plugins.plugins.cri.sandbox_image` 中指定。

0 commit comments

Comments
 (0)