KUBERNETES(1)(kubernetes)
β¨ KUBERNETES(1)(kubernetes) β¨
okay bestie, welcome to the kubernetes manual, section 1, and this page is literally about one of the most important little commands you'll ever run. it was put together by Eric Paris way back in Jan 2015, and it's still serving looks (and certs) to this day. π
πΈ NAME πΈ
kubeadm certs renew apiserver β renews the certificate that serves the Kubernetes API. it's giving "your API server's glow-up appointment." π
π¦ SYNOPSIS π¦
kubeadm certs renew apiserver [OPTIONS]
π DESCRIPTION π
So what does it actually do? It renews the certificate for serving the Kubernetes API. that's it, that's the job. π
Renewals run unconditionally, no matter what the certificate expiration date says. like, it does not care. expired? not expired? doesn't matter, it's renewing. and extra attributes like SANs will be based on the existing file/certificates, so there's literally no need to resupply them. the old files know what they are, periodt. β¨
By default, renewal tries to use the certificate authority in the local PKI managed by kubeadm. as an alternative, it's possible to use the K8s certificate API for certificate renewal, or β as a last option β to generate a CSR request. three paths, all valid, pick your fighter. π«Ά
After renewal, to make the changes effective, you have to restart control-plane components. and eventually you also need to re-distribute the renewed certificate in case the file is used elsewhere. no cap, don't forget this part or you'll be sitting there like "why is nothing happening" π
β¨ OPTIONS β¨
--cert-dir="/etc/kubernetes/pki"β the path where the certificates get saved. π--config=""β path to akubeadmconfiguration file. π--kubeconfig="/etc/kubernetes/admin.conf"β the kubeconfig file to use when talking to the cluster. and if this flag isn't set? a set of standard locations gets searched for an existing kubeconfig file. it'll go looking for you, bestie. π
π OPTIONS INHERITED FROM PARENT COMMANDS π
--rootfs=""β the path to the'real'host root filesystem. this makeskubeadmchrootinto the path you gave it. very "stepping into another dimension" of it. π--version=falseβ here's the breakdown:--version,--version=rawprints version information and quits;--version=vX.Y.Z...sets the reported version. π·οΈ
π§ SEE ALSO π§
π HISTORY π
January 2015, originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material β but hopefully they have been automatically generated since! iconic behavior honestly. β
and that's the whole page, bestie!! this one's a Manuals / User situation, living under KUBERNETES(1)(kubernetes), and it's been out here since January 2015 doing its thing. go renew those certs, restart those control-plane components, and slay the day. πβ¨ππ¦πΈπ
π«Άππ
π¦ where this page comes from
- arch rolling: kubeadm 1.37.2-1 Β· Apache-2.0
- fedora 43: kubernetes1.34-kubeadm 1.34.1-2.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT
- fedora 43: kubernetes1.34-kubeadm 1.34.10-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT
- fedora 43: kubernetes1.35-kubeadm 1.35.7-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- fedora 43: kubernetes1.36-kubeadm 1.36.5-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- fedora 43: kubernetes1.37-kubeadm 1.37.0-3.fc43
- fedora 43: kubernetes1.37-kubeadm 1.37.1-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- fedora 44: kubernetes1.34-kubeadm 1.34.11-3.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT
- fedora 44: kubernetes1.34-kubeadm 1.34.6-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT
- fedora 44: kubernetes1.35-kubeadm 1.35.3-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- fedora 44: kubernetes1.35-kubeadm 1.35.8-3.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- fedora 44: kubernetes1.36-kubeadm 1.36.4-2.fc44
- fedora 44: kubernetes1.36-kubeadm 1.36.5-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- fedora 44: kubernetes1.37-kubeadm 1.37.0-3.fc44
- fedora 44: kubernetes1.37-kubeadm 1.37.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- nixos 26.05: kubernetes 1.36.3
- nixpkgs unstable: kubernetes 1.37.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms