记录一次K8S新节点加入集群报错
#问题:新机器加入K8S集群报错
[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
#解决:查看docker服务状态发现报错
Centos /var/log/messages Unknown lvalue 'TasksMax' in section 'Service'
#解决方案
yum install systemd-* -y
systemctl status docker.service
#验证方案
systemctl restart docker.service
systemctl status docker.service