Problem scenario
You are trying to run "kubeadm init", but you get this error:
"failed with error: Get "http://localhost:10248/healthz": dial tcp 127.0.0.1:10248: connect: connection refused."
What should you do?
Solution
Is the kubelet service running? Run this: sudo systemctl status kubelet
To install the kubelet, see this posting for How Do You Install the kubelet on any type of Linux?
You may want to see this posting too. You may want to check if there is a firewall issue with this posting.