Skip to content

Commit c43613b

Browse files
author
RA489
committed
containerd config improvement
1 parent 02e0558 commit c43613b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,12 @@ systemctl restart containerd
445445

446446
### systemd
447447

448-
To use the `systemd` cgroup driver, set `plugins.cri.systemd_cgroup = true` in `/etc/containerd/config.toml`.
448+
To use the `systemd` cgroup driver in `/etc/containerd/config.toml` set
449+
450+
```
451+
[plugins.cri]
452+
systemd_cgroup = true
453+
```
449454
When using kubeadm, manually configure the
450455
[cgroup driver for kubelet](/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#configure-cgroup-driver-used-by-kubelet-on-control-plane-node)
451456

0 commit comments

Comments
 (0)