Warning:detected “cgroupfs” as the Docker cgroup driver. The recommended driver is "systemd
问题描述:
kubectl init 或者 kubectl join 出现 Warning:detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd 错误。
解决方法:
vim /etc/docker/daemon.json
添加如下内容:
{
"exec-opts":["native.cgroupdriver=systemd"]
}