Skip to content

Commit b3d44d7

Browse files
committed
docs: update containerd systemd configuration
systemd_cgroup = true in plugins."io.containerd.grpc.v1.cri" is no longer supported by containerd 1.3.x. Enabling it causes containerd to skip loading the cri plugin. Add the preferred setting to the container runtime configuration documentation. Ref: containerd/containerd#4574 Signed-off-by: Mikko Ylinen <[email protected]>
1 parent f4bb5ff commit b3d44d7

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)