How to recreate certitifcate for azure hci AKS worker node ?
Hello,
Can anyone provide the steps to generate a certificate for Kubelet?
The AKS HCI worker node is in a "NotReady" state because Kubelet is not running. The Kubelet logs show the following error
:moc-lhylsw0kus0 kubelet[1514068]: E0909 16:25:49.013883 1514068 bootstrap.go:265] part of the existing bootstrap client certificate in /etc/kubernetes/kubelet.conf is expired: 2024-08-30 07:43:22 +0000 UTC Sep 09 16:25:49 moc-lhylsw0kus0 kubelet[1514068]: E0909 16:25:49.013916 1514068 run.go:74] "command failed" err="failed to run Kubelet: unable to load bootstrap kubeconfig: stat /etc/kubernetes/bootstrap-kubelet.conf: no such file or directory"or it will follow same steps as mentioned on Kubernetes documentation .