From bce3f282f1bb4424ad5b13ecb8fa9ae677c48569 Mon Sep 17 00:00:00 2001
From: matjazp <matjaz.pancur@gmail.com>
Date: Wed, 1 Apr 2020 09:43:26 +0200
Subject: [PATCH] fix systemd cgroup driver for containerd (#5220)

---
 roles/container-engine/containerd/templates/config.toml.j2 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/roles/container-engine/containerd/templates/config.toml.j2 b/roles/container-engine/containerd/templates/config.toml.j2
index db1527e71..70a07df63 100644
--- a/roles/container-engine/containerd/templates/config.toml.j2
+++ b/roles/container-engine/containerd/templates/config.toml.j2
@@ -19,6 +19,7 @@ disabled_plugins = ["restart"]
   stream_server_address = "127.0.0.1"
   max_container_log_line_size = {{ containerd_config.max_container_log_line_size }}
   sandbox_image = "{{ pod_infra_image_repo }}:{{ pod_infra_image_tag }}"
+  systemd_cgroup = {{ containerd_use_systemd_cgroup|lower }}
 
 [plugins.cri.cni]
   bin_dir = "/opt/cni/bin"
-- 
GitLab