I am setting up VM based cluster. I am always having the following error message
[kubelet-check] The HTTP call equal to ‘curl -sSL http://localhost:10248/healthz’ failed with error: Get “http://localhost:10248/healthz”: dial tcp 127.0.0.1:10248: connect: connection refused.
[kubelet-check] It seems like the kubelet isn’t running or healthy.
systemctl status kubelet
● kubelet.service - kubelet: The Kubernetes Node Agent
Loaded: loaded (/lib/systemd/system/kubelet.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/kubelet.service.d
└─10-kubeadm.conf
Active: activating (auto-restart) (Result: exit-code) since Sun 2022-05-01 18:58:29 +08;>
Docs: Kubernetes Documentation | Kubernetes
Process: 6479 ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $K>
Main PID: 6479 (code=exited, status=1/FAILURE)
May 01 18:58:29 KubMaster systemd[1]: kubelet.service: Failed with result ‘exit-code’.
Anyone help on this ?