Welcome to the Linux Foundation Forum!

kubelet isn't running or healthy when bootstrapping control plane

habib010
habib010 Posts: 1
edited April 2023 in LFS258 Class Forum

I am trying to create a multi-master Kubernetes cluster. The version of Kubectl/Kubeadm/Kubelet that I installed is 1.23.8 and the corresponding docker version is 5:20.10.19~3-0~ubuntu-focal. Afterwrads, when I try to configure kubeadm to bootstrap the cluster, I got following error:

" [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 127.0.0.1:10248: connect: connection refused.' "

Any help/suggestion/comment would be appreciated. Thanks in advance

Answers

  • chrispokorni
    chrispokorni Posts: 2,349

    Hi @habib010,

    I would recommend following the lab guide, to bootstrap the cluster with Kubernetes version 1.25.1 or 1.26.1 with the containerd runtime.

    In addition, review the 2 demo videos from the intro chapter to learn about networking requirements, VM hardware profiles, and recommended guest OS.

    Regards,
    -Chris

Categories

Upcoming Training