Skip to content

Commit 91060dd

Browse files
committed
Add kubelet vs kubeadm default cgroupfs driver
1 parent 7404e00 commit 91060dd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight: 20
66

77
<!-- overview -->
88

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
1010
runtime cgroup driver for kubeadm clusters.
1111

1212
## {{% heading "prerequisites" %}}
@@ -20,7 +20,8 @@ You should be familiar with the Kubernetes
2020

2121
The [Container runtimes](/docs/setup/production-environment/container-runtimes) page
2222
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 `cgroupfs` driver](/docs/reference/config-api/kubelet-config.v1beta1),
24+
because kubeadm manages the kubelet as a systemd service.
2425

2526
The page also provides details on how to set up a number of different container runtimes with the
2627
`systemd` driver by default.
@@ -32,9 +33,8 @@ This `KubeletConfiguration` can include the `cgroupDriver` field which controls
3233
driver of the kubelet.
3334

3435
{{< note >}}
35-
36-
In v1.22, if the user is not setting the `cgroupDriver` field under `KubeletConfiguration`,
37-
`kubeadm` will default it to `systemd`.
36+
In v1.22 and later, if the user does not set the `cgroupDriver` field under `KubeletConfiguration`,
37+
`kubeadm` defaults it to `systemd`.
3838
{{< /note >}}
3939

4040
A minimal example of configuring the field explicitly:
@@ -81,7 +81,7 @@ you must refer to the documentation of the container runtime of your choice.
8181

8282
## Migrating to the `systemd` driver
8383

84-
To change the cgroup driver of an existing kubeadm cluster to `systemd` in-place,
84+
To change the cgroup driver of an existing kubeadm cluster from `cgroupfs` to `systemd` in-place,
8585
a similar procedure to a kubelet upgrade is required. This must include both
8686
steps outlined below.
8787

0 commit comments

Comments
 (0)