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"