Skip to content

Commit 71e55e4

Browse files
authored
Merge pull request #23269 from RA489/containerd_config
containerd config improvement
2 parents d456c8f + c43613b commit 71e55e4

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
@@ -471,7 +471,12 @@ Start-Service containerd
471471

472472
### systemd
473473

474-
To use the `systemd` cgroup driver, set `plugins.cri.systemd_cgroup = true` in `/etc/containerd/config.toml`.
474+
To use the `systemd` cgroup driver in `/etc/containerd/config.toml` set
475+
476+
```
477+
[plugins.cri]
478+
systemd_cgroup = true
479+
```
475480
When using kubeadm, manually configure the
476481
[cgroup driver for kubelet](/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#configure-cgroup-driver-used-by-kubelet-on-control-plane-node)
477482

0 commit comments

Comments
 (0)