Kubeadm: Initialization Error

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 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
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 ?

I managed to bring up. But getting another type of error

Hey @Nantha
Can you please check the required ports first?

and check this thread: -

The problem has been resolved…