k8s入坑之报错(7)kubeadm init 报错detected “cgroupfs“
作者:互联网
错误提示:
[WARNING IsDockerSystemdCheck]: detected “cgroupfs” as the Docker cgroup driver. The recommended driver is “systemd”. Please follow the guide at https://kubernetes.io/docs/setup/cri/
解决:
在/etc/docker下创建daemon.json并编辑:vim /etc/docker/daemon.json
加入以下内容:
{
"exec-opts":["native.cgroupdriver=systemd"]
}
执行命令:
systemctl daemon-reload
systemctl restart docker
标签:daemon,json,detected,init,systemd,报错,docker 来源: https://www.cnblogs.com/muzlei/p/16382612.html