Skip to content

Instantly share code, notes, and snippets.

View kudamhazo's full-sized avatar
😁

Anos Mhazo kudamhazo

😁
View GitHub Profile
@kudamhazo
kudamhazo / initialize-kubelet.md
Last active May 31, 2022 03:26
Initialize kubelet service just after installation to fix service startup error.

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