If you are experiencing error with the kubelet service not running because of failed to load kubelet config file, error: failed to load Kubelet config file /var/lib/kubelet/config.yaml
error.
# kubeadm-config.yaml
kind: ClusterConfiguration
apiVersion: kubeadm.k8s.io/v1beta3
kubernetesVersion: v1.24.1
---
kind: KubeletConfiguration
apiVersion: kubelet.config.k8s.io/v1beta1