KUBERNETES(1)(kubernetes)
π KUBERNETES(1) β kubeadm init phase certs etcd-ca π
okay bestie, sit down, grab your boba π§, because this is one of those little kubeadm subcommands that does exactly one thing and does it flawlessly. It's from the kubernetes manual, section 1, and the original author energy is Eric Paris, January 2015. Yes, 2015. Ancient. Vintage. Iconic. π
β¨ NAME β¨
kubeadm init phase certs etcd-ca β generate the self-signed CA that provisions identities for etcd, no cap π₯
π SYNOPSIS π
kubeadm init phase certs etcd-ca [OPTIONS]
that's it. that's the whole vibe. π
πΈ DESCRIPTION πΈ
so basically πββοΈ this command generates the self-signed CA that provisions identities for etcd, and it saves them into the files etcd/ca.crt and etcd/ca.key.
and here's the cute part: if both files already exist, kubeadm is like "not me doing redundant work π" and skips the generation step entirely, and the existing files just get used. lowkey polite of it.
β οΈ real talk: it only skips when both files exist. So don't come for me if your half-populated cert dir does something you didn't expect. π
β¨ OPTIONS β¨
--cert-dir="/etc/kubernetes/pki"β the path where the certificates get saved and stored. default is that classic/etc/kubernetes/pkibestie. π--config=""β path to a kubeadm configuration file. empty by default, so no config file unless you say so.--dry-run=falseβ literally "don't apply any changes; just output what would be done". a little preview, a little dress rehearsal, zero commitment. π--kubernetes-version="stable-1"β choose a specific Kubernetes version for the control plane. default bein"stable-1"π
π OPTIONS INHERITED FROM PARENT COMMANDS π
--rootfs=""β the path to the 'real' host root filesystem. this will cause kubeadm to chroot into the path you provide. yes, chroot. yes, it's giving main character energy. handle with care π«Ά--version=falseβ--version,--version=rawprints version information and quits;--version=vX.Y.Z...sets the reported version. so it either tells you the tea or lets you rewrite it. π
π¦ SEE ALSO π¦
go read that one too, bestie, they're a set. π
π 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! π (author's words, not mine, and honestly? relatable.)
okay that's the whole page, periodt. π β¨ this was the User manual for KUBERNETES(1), straight from the Manuals collection, and the header vibe has been KUBERNETES(1)(kubernetes) this entire time β the version/date energy is January 2015, so go forth and generate that etcd CA, 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