Docker:1.13.1 kubelet:1.18.0 kubeadm init 报错信息
代码语言:javascript复制[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get http://localhost:10248/healthz: dial tcp [::1]:10248: connect: connection refused.
[kubelet-check] It seems like the kubelet isn't running or healthy.
修改docker配置文件
代码语言:javascript复制vim /usr/lib/systemd/system/docker.service
ExecStart=......
--exec-opt native.cgroupdriver=cgroupfs
.......
重启docker
代码语言:javascript复制systemctl daemon-reload
systemctl restart docker
重新进行kubeadm初始化