KUBERNETES(1)(kubernetes)
β¨ KUBERNETES(1)(kubernetes) β¨
okay bestie, buckle up π this is a page from the kubernetes manual (section 1, the user commands one, iykyk) and we're about to make cert renewal make sense. no cap.
πΈ NAME πΈ
kubeadm certs renew admin.conf β bestie, this one renews the certificate that's embedded in the kubeconfig file, the one the admin uses and the one kubeadm itself uses. two birds, one cert, slay π
π SYNOPSIS π
kubeadm certs renew admin.conf [OPTIONS]
π¦ DESCRIPTION π¦
okay so here's the vibe: this command renews the certificate embedded in the kubeconfig file, for the admin to use and for kubeadm itself. that's it, that's the job. π
and listen, renewals run unconditionally β like, it does not care whether your certificate has expired or not. it's renewing regardless. and extra attributes like SANs? those get based on the existing file/certificates, so there is no need to resupply them. you don't have to re-type all that, periodt. β¨
renewal by default tries to use the certificate authority in the local PKI managed by kubeadm. as an alternative, it is possible to use the K8s certificate API for certificate renewal, or, as a last option, to generate a CSR request. three paths, pick your fighter π«Ά
β οΈ okay important part, don't scroll past this: after renewal, in order to make changes effective, you have to restart the control-plane components, and eventually re-distribute the renewed certificate in case the file is used elsewhere. like, the cert is new but nobody knows yet, bestie π go tell them.
π OPTIONS π
--cert-dir="/etc/kubernetes/pki"β the path where to save the certificates π--config=""β path to a kubeadm configuration file ποΈ--kubeconfig="/etc/kubernetes/admin.conf"β the kubeconfig file to use when talking to the cluster. if the flag is not set, a set of standard locations can be searched for an existing kubeconfig file π
π§ OPTIONS INHERITED FROM PARENT COMMANDS π§
--rootfs=""β the path to the 'real' host root filesystem. this will cause kubeadm tochrootinto the provided path π--version=falseβ--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! π
and that's the whole page bestie π this came out of the kubernetes manual, the Manuals / User section, stamped KUBERNETES(1)(kubernetes). go renew that cert and restart your control-plane components, you absolute icon πβ¨π¦
π¦ 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