@@ -6,7 +6,7 @@ weight: 20
6
6
7
7
<!-- overview -->
8
8
9
- This page explains how to configure the kubelet cgroup driver to match the container
9
+ This page explains how to configure the kubelet's cgroup driver to match the container
10
10
runtime cgroup driver for kubeadm clusters.
11
11
12
12
## {{% heading "prerequisites" %}}
@@ -20,7 +20,9 @@ You should be familiar with the Kubernetes
20
20
21
21
The [ Container runtimes] ( /docs/setup/production-environment/container-runtimes ) page
22
22
explains that the ` systemd ` driver is recommended for kubeadm based setups instead
23
- of the ` cgroupfs ` driver, because kubeadm manages the kubelet as a systemd service.
23
+ of the kubelet's [ default] ( /docs/reference/config-api/kubelet-config.v1beta1 ) ` cgroupfs ` driver,
24
+ because kubeadm manages the kubelet as a
25
+ [ systemd service] ( /docs/setup/production-environment/tools/kubeadm/kubelet-integration ) .
24
26
25
27
The page also provides details on how to set up a number of different container runtimes with the
26
28
` systemd ` driver by default.
@@ -32,9 +34,8 @@ This `KubeletConfiguration` can include the `cgroupDriver` field which controls
32
34
driver of the kubelet.
33
35
34
36
{{< note >}}
35
-
36
- In v1.22, if the user is not setting the ` cgroupDriver ` field under ` KubeletConfiguration ` ,
37
- ` kubeadm ` will default it to ` systemd ` .
37
+ In v1.22 and later, if the user does not set the ` cgroupDriver ` field under ` KubeletConfiguration ` ,
38
+ kubeadm defaults it to ` systemd ` .
38
39
{{< /note >}}
39
40
40
41
A minimal example of configuring the field explicitly:
@@ -81,7 +82,7 @@ you must refer to the documentation of the container runtime of your choice.
81
82
82
83
## Migrating to the ` systemd ` driver
83
84
84
- To change the cgroup driver of an existing kubeadm cluster to ` systemd ` in-place,
85
+ To change the cgroup driver of an existing kubeadm cluster from ` cgroupfs ` to ` systemd ` in-place,
85
86
a similar procedure to a kubelet upgrade is required. This must include both
86
87
steps outlined below.
87
88
0 commit comments