Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#540 from codenrhoden/systemd-cgroup
Browse files Browse the repository at this point in the history
Set systemd cgroup driver for K8s >= 1.21
  • Loading branch information
k8s-ci-robot authored Mar 9, 2021
2 parents 1d3ed9d + d7b14e3 commit facf334
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ version = 2
[plugins]
[plugins."io.containerd.grpc.v1.cri"]
sandbox_image = "{{ containerd_pause_image }}"
{% if kubernetes_semver is version('v1.21.0', '>=') %}
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options]
SystemdCgroup = true
{% endif %}

{% endif %}

{{containerd_additional_settings | b64decode}}

0 comments on commit facf334

Please sign in to comment.