1
1
---
2
2
title : 配置 cgroup 驱动
3
3
content_type : task
4
- weight : 10
4
+ weight : 20
5
5
---
6
6
<!--
7
7
title: Configuring a cgroup driver
@@ -42,7 +42,7 @@ of the `cgroupfs` driver, because kubeadm manages the kubelet as a systemd servi
42
42
我们推荐使用 ` systemd ` 驱动,不推荐 ` cgroupfs ` 驱动。
43
43
44
44
<!--
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
46
46
`systemd` driver by default.
47
47
-->
48
48
此页还详述了如何安装若干不同的容器运行时,并将 ` systemd ` 设为其默认驱动。
@@ -62,12 +62,12 @@ kubeadm 支持在执行 `kubeadm init` 时,传递一个 `KubeletConfiguration`
62
62
63
63
<!--
64
64
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`.
66
66
-->
67
67
68
68
{{< note >}}
69
69
在版本 1.22 中,如果用户没有在 ` KubeletConfiguration ` 中设置 ` cgroupDriver ` 字段,
70
- ` kubeadm init ` 会将它设置为默认值 ` systemd ` 。
70
+ ` kubeadm ` 会将它设置为默认值 ` systemd ` 。
71
71
{{< /note >}}
72
72
73
73
<!--
@@ -131,7 +131,7 @@ of kubeadm to apply the `systemd` driver by default.
131
131
此方法应对的场景为:在将来某个版本的 kubeadm 中,你不想使用默认的 ` systemd ` 驱动。
132
132
133
133
<!--
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
135
135
how to be explicit about the value.
136
136
137
137
If you wish to configure a container runtime to use the `cgroupfs` driver,
0 commit comments