From b0bf75ccadf51b869d28453c770f36d081196019 Mon Sep 17 00:00:00 2001 From: Michael Hofer Date: Thu, 22 Oct 2020 19:39:35 +0200 Subject: [PATCH] Docs: Restore PR24605, update containerd systemd configuration (#24687) --- .../setup/production-environment/container-runtimes.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/content/en/docs/setup/production-environment/container-runtimes.md b/content/en/docs/setup/production-environment/container-runtimes.md index c702aa5ca7..ae67726b8e 100644 --- a/content/en/docs/setup/production-environment/container-runtimes.md +++ b/content/en/docs/setup/production-environment/container-runtimes.md @@ -189,13 +189,15 @@ Start-Service containerd {{% /tab %}} {{< /tabs >}} -#### systemd +#### systemd {#containerd-systemd} To use the `systemd` cgroup driver in `/etc/containerd/config.toml` with `runc`, set ``` -[plugins.cri] -systemd_cgroup = true +[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc] + ... + [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options] + SystemdCgroup = true ``` When using kubeadm, manually configure the