Skip to content

Commit b0bf75c

Browse files
authored
Docs: Restore PR24605, update containerd systemd configuration (#24687)
1 parent 167a19e commit b0bf75c

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
@@ -189,13 +189,15 @@ Start-Service containerd
189189
{{% /tab %}}
190190
{{< /tabs >}}
191191

192-
#### systemd
192+
#### systemd {#containerd-systemd}
193193

194194
To use the `systemd` cgroup driver in `/etc/containerd/config.toml` with `runc`, set
195195

196196
```
197-
[plugins.cri]
198-
systemd_cgroup = true
197+
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
198+
...
199+
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options]
200+
SystemdCgroup = true
199201
```
200202

201203
When using kubeadm, manually configure the

0 commit comments

Comments
 (0)