Kubeadm 初始化时候报的警告信息 detected "cgroupfs" as the Docker cgroup driver ···
技术积累 Docker kubernetes

kubeadm 初始化时候报的警告信息:

[preflight] Running pre-flight checks
    [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/

解决

# 修改docker配置文件添加参数
# 设置默认cgroup组为systemd(centos7中有2个cgrounp组,cgroupfs和systemd)

/etc/docker/daemon.json
{
   "exec-opts": ["native.cgroupdriver=systemd"]
}

# 重启docker
systemctl daemon-reload
systemctl restart docker

本文最后记录时间 2024-03-30
文章链接地址:
https://me.jinchuang.org/archives/1152.html
本站文章除注明[转载|引用|来源],均为本站原创内容,转载前请注明出处
Docker容器添加host
Docker 设置网络代理
Docker build报错 DeadlineExceeded: failed to fetch oauth token: Post "https://auth.docker.io/token"
Docker容器java生成文件名称不支持中文

Linux jar包服务启动停止shell脚本

TCP的标识位和状态

留言

顶部