Skip to content

Commit 907696d

Browse files
authored
Merge pull request #24605 from mythi/containerd-systemd
docs: update containerd systemd configuration
2 parents 62407ce + b3d44d7 commit 907696d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -472,11 +472,13 @@ Start-Service containerd
472472

473473
### systemd
474474

475-
To use the `systemd` cgroup driver in `/etc/containerd/config.toml` set
475+
To use the `systemd` cgroup driver in `/etc/containerd/config.toml` with `runc` set
476476

477477
```
478-
[plugins.cri]
479-
systemd_cgroup = true
478+
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
479+
...
480+
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options]
481+
SystemdCgroup = true
480482
```
481483
When using kubeadm, manually configure the
482484
[cgroup driver for kubelet](/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#configure-cgroup-driver-used-by-kubelet-on-control-plane-node)

0 commit comments

Comments
 (0)