containerd configuration improvement

pull/23571/head
Zhang Yong 2020-08-31 10:44:39 +08:00
parent e8d464b800
commit b4ee843031
1 changed files with 5 additions and 1 deletions

View File

@ -794,7 +794,11 @@ Refer to the [Frakti QuickStart guide](https://github.com/kubernetes/frakti#quic
-->
### systemd
使用 `systemd` cgroup 驱动,在 `/etc/containerd/config.toml` 中设置 `plugins.cri.systemd_cgroup = true`
使用 `systemd` cgroup 驱动,在 `/etc/containerd/config.toml` 中设置
```
[plugins.cri]
systemd_cgroup = true
```
当使用 kubeadm 时,请手动配置
[kubelet 的 cgroup 驱动](/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#configure-cgroup-driver-used-by-kubelet-on-master-node)