美文网首页
debug kubelet not starting

debug kubelet not starting

作者: 路小飞 | 来源:发表于2018-01-30 13:59 被阅读804次

    kubeadm init 报错如下:

    [kubelet-check] It seems like the kubelet isn't running or healthy.

    [kubelet-check] 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.

    解决办法:

    Things were  solved by setting --fail-swap-on=false in the systemd script.

    Just make the modification on the file /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"

    源: https://serverfault.com/questions/877136/debug-kubelet-not-starting

    相关文章

      网友评论

          本文标题:debug kubelet not starting

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