kubeadm – update expired certificates

Check expired certificates:

kubeadm certs check-expiration

Renew all certificates and restart all the nodes:

kubeadm certs renew all

Prepare kubectl with the new configuration:

cp ~/.kube/config ~/.kube/config.backup
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config