k8wiz
Kubernetes
Hard
Security

Why is kubelet.conf missing from the output of kubeadm certs check-expiration?

Select your answer:

Show answer and explanation

Answer: kubeadm leaves it to the kubelet, which rotates its own client certificate

Explanation

kubeadm configures the kubelet for automatic client certificate rotation, with kubelet.conf pointing at /var/lib/kubelet/pki/kubelet-client-current.pem. The kubeadm source explicitly excludes kubelet.conf from renewal because management of that certificate is delegated to the kubelet. The bootstrap token from kubeadm join only gets the kubelet its first certificate.

Read more about Kubernetes