Skip to content

Commit 5032568

Browse files
authored
Merge pull request #27528 from ydFu/update-container-runtimes
[zh] Sync setup pages for container-runtimes.md
2 parents fe133b5 + 61cf431 commit 5032568

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

content/zh/docs/setup/production-environment/container-runtimes.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ stabilized the system. To configure this for Docker, set `native.cgroupdriver=sy
8585

8686
<!--
8787
{{< caution >}}
88-
Changing the cgroup driver of a Node that has joined a cluster is strongly *not* recommended.
88+
Changing the cgroup driver of a Node that has joined a cluster is a sensitive operation.
8989
If the kubelet has created Pods using the semantics of one cgroup driver, changing the container
9090
runtime to another cgroup driver can cause errors when trying to re-create the Pod sandbox
9191
for such existing Pods. Restarting the kubelet may not solve such errors.
@@ -94,10 +94,22 @@ If you have automation that makes it feasible, replace the node with another usi
9494
configuration, or reinstall it using automation.
9595
{{< /caution >}}
9696
-->
97-
注意:非常 ** 建议更改已加入集群的节点的 cgroup 驱动
97+
注意:更改已加入集群的节点的 cgroup 驱动是一项敏感的操作
9898
如果 kubelet 已经使用某 cgroup 驱动的语义创建了 pod,更改运行时以使用别的 cgroup 驱动,当为现有 Pods 重新创建 PodSandbox 时会产生错误。重启 kubelet 也可能无法解决此类问题。
9999
如果你有切实可行的自动化方案,使用其他已更新配置的节点来替换该节点,或者使用自动化方案来重新安装。
100100

101+
<!--
102+
### Migrating to the `systemd` driver in kubeadm managed clusters
103+
-->
104+
### 将 kubeadm 托管的集群迁移到 `systemd` 驱动
105+
106+
<!--
107+
Follow this [Migration guide](docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver)
108+
if you wish to migrate to the `systemd` cgroup driver in existing kubeadm managed clusters.
109+
-->
110+
如果你想迁移到现有 kubeadm 托管集群中的 `systemd` cgroup 驱动程序,
111+
遵循此[迁移指南](/zh/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver)
112+
101113
<!--
102114
## Container runtimes
103115
-->

0 commit comments

Comments
 (0)