Skip to content

Commit d63c9e9

Browse files
authored
Merge pull request #39025 from Zhuzhenghao/configure-cgroup-driver
[zh-cn] Sync configure-cgroup-driver.md
2 parents 8b119e2 + 9e578ef commit d63c9e9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/zh-cn/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 配置 cgroup 驱动
33
content_type: task
4-
weight: 10
4+
weight: 20
55
---
66
<!--
77
title: Configuring a cgroup driver
@@ -42,7 +42,7 @@ of the `cgroupfs` driver, because kubeadm manages the kubelet as a systemd servi
4242
我们推荐使用 `systemd` 驱动,不推荐 `cgroupfs` 驱动。
4343

4444
<!--
45-
The page also provides details on how to setup a number of different container runtimes with the
45+
The page also provides details on how to set up a number of different container runtimes with the
4646
`systemd` driver by default.
4747
-->
4848
此页还详述了如何安装若干不同的容器运行时,并将 `systemd` 设为其默认驱动。
@@ -62,12 +62,12 @@ kubeadm 支持在执行 `kubeadm init` 时,传递一个 `KubeletConfiguration`
6262

6363
<!--
6464
In v1.22, if the user is not setting the `cgroupDriver` field under `KubeletConfiguration`,
65-
`kubeadm init` will default it to `systemd`.
65+
`kubeadm` will default it to `systemd`.
6666
-->
6767

6868
{{< note >}}
6969
在版本 1.22 中,如果用户没有在 `KubeletConfiguration` 中设置 `cgroupDriver` 字段,
70-
`kubeadm init` 会将它设置为默认值 `systemd`
70+
`kubeadm` 会将它设置为默认值 `systemd`
7171
{{< /note >}}
7272

7373
<!--
@@ -131,7 +131,7 @@ of kubeadm to apply the `systemd` driver by default.
131131
此方法应对的场景为:在将来某个版本的 kubeadm 中,你不想使用默认的 `systemd` 驱动。
132132

133133
<!--
134-
See the below section on "Modify the kubelet ConfigMap" for details on
134+
See the below section on "[Modify the kubelet ConfigMap](#modify-the-kubelet-configmap)" for details on
135135
how to be explicit about the value.
136136
137137
If you wish to configure a container runtime to use the `cgroupfs` driver,

0 commit comments

Comments
 (0)