K8s: 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/解决:创建文件:vi /e
·
错误提示:
[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/
解决:
创建文件:
vi /etc/docker/daemon.json
加入以下内容:
{
“exec-opts”:[“native.cgroupdriver=systemd”],
“registry-mirrors”:[“https://docker.mirrors.ustc.edu.cn”]
}
执行命令:
systemctl daemon-reload
systemctl restart docker
更多推荐
已为社区贡献4条内容
所有评论(0)