From ddf1157e47b8314a6b9e592071cf1368b5f40fca Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Mon, 15 Mar 2021 22:43:24 +0200 Subject: [PATCH] container-runtimes: add note about restarting containerd Add note about restarting containerd when the cgroup driver is changed to "systemd". --- .../setup/production-environment/container-runtimes.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/content/en/docs/setup/production-environment/container-runtimes.md b/content/en/docs/setup/production-environment/container-runtimes.md index 15f3e3a9b6..9e60076c5e 100644 --- a/content/en/docs/setup/production-environment/container-runtimes.md +++ b/content/en/docs/setup/production-environment/container-runtimes.md @@ -147,7 +147,7 @@ Start a Powershell session, set `$Version` to the desired version (ex: `$Version {{% /tab %}} {{< /tabs >}} -#### systemd {#containerd-systemd} +#### Using the `systemd` cgroup driver {#containerd-systemd} To use the `systemd` cgroup driver in `/etc/containerd/config.toml` with `runc`, set @@ -158,6 +158,12 @@ To use the `systemd` cgroup driver in `/etc/containerd/config.toml` with `runc`, SystemdCgroup = true ``` +If you apply this change make sure to restart containerd again: + +```shell +sudo systemctl restart containerd +``` + When using kubeadm, manually configure the [cgroup driver for kubelet](/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#configure-cgroup-driver-used-by-kubelet-on-control-plane-node).