Merge pull request #24605 from mythi/containerd-systemd

docs: update containerd systemd configuration
pull/24625/head
Kubernetes Prow Robot 2020-10-17 10:48:12 -07:00 committed by GitHub
commit 907696da61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -472,11 +472,13 @@ Start-Service containerd
### systemd
To use the `systemd` cgroup driver in `/etc/containerd/config.toml` set
To use the `systemd` cgroup driver in `/etc/containerd/config.toml` with `runc` set
```
[plugins.cri]
systemd_cgroup = true
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
...
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options]
SystemdCgroup = 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)