美文网首页
k8s The HTTP call equal to '

k8s The HTTP call equal to '

作者: 路小飞 | 来源:发表于2018-06-29 15:15 被阅读1673次

初始化发生错误如下:

The HTTP call equal to 'curl -sSL http://localhost:10255/healthz' failed with error: Get http://localhost:10255/healthz: dial tcp 127.0.0.1:10255: getsockopt: connection refused.

解决办法:

vim /etc/systemd/system/kubelet.service.d/10-kubeadm.conf

Environment="KUBELET_SYSTEM_PODS_ARGS=--pod-manifest-path=/etc/kubernetes/manifests --allow-privileged=true --fail-swap-on=false"

then run systemctl daemon-reload and then systemctl restart kubelet

参考链接

相关文章

网友评论

      本文标题:k8s The HTTP call equal to '

      本文链接:https://www.haomeiwen.com/subject/eheayftx.html