k8s 部署错误总结
1.kubeadm init 发现由于之前的操作,你可能会出现如下错误,然后kubelet也一直起不来,总之就是6443无法启动,而且init过程一直做健康检查[kubelet-check] It seems like the kubelet isn't running or healthy.[kubelet-check] The HTTP call equal to 'curl -sSL htt
·
1.kubeadm init 发现
由于之前的操作,你可能会出现如下错误,然后kubelet也一直起不来,总之就是6443无法启动,而且init过程一直做健康检查
[kubelet-check] It seems like the kubelet isn't running or healthy.
[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.
I1225 19:02:10.966179 26866 round_trippers.go:445] GET https://192.168.10.204:6443/healthz?timeout=10s in 0 milliseconds
I1225 19:02:11.465936 26866 round_trippers.go:445] GET https://192.168.10.204:6443/healthz?timeout=10s in 0 milliseconds
I1225 19:02:11.965773 26866 round_trippers.go:445] GET https://192.168.10.204:6443/healthz?timeout=10s in 0 milliseconds
解决:
/etc/hosts 加上这些127.0.0.1 localhost
127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters
更多推荐
已为社区贡献45条内容
所有评论(0)