kubeadm Cheat Sheet/Renew apiserver cert

Renew the API server certificate only.

Section: Certificates and kubeconfig

Renew apiserver cert

bash
bash
kubeadm certs renew apiserver
Explanation

Renew the API server certificate only.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Certificates and kubeconfig
Renew all certificates
Renew all kubeadm-managed control-plane certificates.
OpenIn sheetbashsame section
Check certificate expiration
See kubeadm-managed certificate expiry dates.
OpenIn sheetbashsame section
Generate certificate key
Generate a certificate key for control-plane join.
OpenIn sheetbashsame section
Upload certs phase
Run only the cert upload phase.
OpenIn sheetbashsame section
Generate kubeconfig for user
Generate a kubeconfig file for a user credential.
OpenIn sheetbashsame section
Show kubeadm version
Print kubeadm version information.
OpenIn sheetbash1 tag match