From c43613b8cf63cece923d1fecb622ec7ae3a86d0a Mon Sep 17 00:00:00 2001 From: RA489 Date: Thu, 20 Aug 2020 11:16:37 +0530 Subject: [PATCH] containerd config improvement --- .../setup/production-environment/container-runtimes.md | 7 ++++++- 1 file changed, 6 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 c22dd0be854be..6feb1be1a5b54 100644 --- a/content/en/docs/setup/production-environment/container-runtimes.md +++ b/content/en/docs/setup/production-environment/container-runtimes.md @@ -445,7 +445,12 @@ systemctl restart containerd ### systemd -To use the `systemd` cgroup driver, set `plugins.cri.systemd_cgroup = true` in `/etc/containerd/config.toml`. +To use the `systemd` cgroup driver in `/etc/containerd/config.toml` set + +``` +[plugins.cri] +systemd_cgroup = true +``` 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)