Chinese Yellow Pages | Classifieds | Knowledge | Tax | IME

kubeadm certs check-expiration
kubeadm certs renew all
systemctl restart kubelet  ( or other api server etc)

 

re-generate .kube/config

# ssh <control-node1-cluster1>
# sudo kubeadm kubeconfig user –client-name kubernetes-admin –org=system:masters > ./kube/config

 

Reference

https://www.linkedin.com/pulse/how-regenerate-kubeconfig-vadim-tsarfin-ygg9e/

 

https://medium.com/@guilospanck/kubernetes-x509-certificate-has-expired-or-is-not-yet-valid-error-cb9ca581d38b

Leave a Reply

Your email address will not be published. Required fields are marked *