草庐IT

解决K8s安装中节点初始化时 [kubelet-check] The HTTP call equal to ‘curl -sSL http://localhost:10248/healthz‘ 问题.

问题描述:安装K8s时,在节点初始化过程中出现[kubelet-check]TheHTTPcallequalto‘curl-sSLhttp://localhost:10248/healthz’failedwitherror:Get“http://localhost:10248/healthz”:dialtcp127.0.0.1:10248:connect:connectionrefused.报错。#在安装K8s初始化主节点过程中,出现如下报错:queena@queena-Lenovo:~$sudokubeadminit--apiserver-advertise-address=192.168.

【问题解决】[kubelet-check] The HTTP call equal to ‘curl -sSL http://localhost:10248/healthz‘ failed wite

故障报错:[kubelet-check]TheHTTPcallequalto‘curl-sSLhttp://localhost:10248/healthz’failedwitherror:Get“http://localhost:10248/healthz”:dialtcp[::1]:10248:connect:connectionrefused.原因:执行初始化安装命令kubeadminit…报错故障:[etcd]CreatingstaticPodmanifestforlocaletcdin“/etc/kubernetes/manifests”[wait-control-plane]Wait