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.
More hard Kubernetes questions
- A kubeadm apiserver certificate still has 300 days left. What does kubeadm certs renew apiserver do?
- Why can a node with 10% actual CPU usage still produce 'Insufficient cpu' in a FailedScheduling event?
- Why does 'pod has unbound immediate PersistentVolumeClaims' appear in a FailedScheduling message without a per-node count?
- A Pod requests 64 CPU on a cluster of 16-CPU nodes. Why does its event end with 'Preemption is not helpful for scheduling'?
- What is a Kubernetes Operator?
- What is a Kubernetes Admission Controller?