KUBERNETES(1)(kubernetes)

πŸ“¦
version 1.37.2 Β· 3 versions
, in arch rolling, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

✨ KUBERNETES(1)(kubernetes) ✨

okay bestie, sit down, hydrate, and let me tell you about the kubernetes manual page β€” this one's the kubeadm init phase certs etcd-peer</p> situation and it's lowkey iconic πŸ’…


πŸŽ€ NAME πŸŽ€

kubeadm init phase certs etcd-peer β€” bestie, this generates the certificate for etcd nodes to communicate with each other πŸ¦‹


🌸 SYNOPSIS 🌸

kubeadm init phase certs etcd-peer [OPTIONS]

that's it. that's the whole vibe. [OPTIONS] and go 🫢


πŸ’– DESCRIPTION πŸ’–

So like β€” this command generates the certificate for etcd nodes to communicate with each other, and saves them into the etcd/peer.crt and etcd/peer.key files. cute, right? πŸ”₯

Default SANs are localhost, 127.0.0.1, 127.0.0.1, ::1. yes, 127.0.0.1 is in there twice, no I will not be explaining that, it's just what it is πŸ’€

Not me about to say the important part: if both files already exist, kubeadm skips the generation step and existing files will be used. so if you were expecting a fresh cert, check first, bestie 😭

πŸ‘‘ OPTIONS πŸ‘‘

  • --cert-dir="/etc/kubernetes/pki" β€” the path where to save and store the certificates πŸ’–
  • --config="" β€” path to a kubeadm configuration file 🌸
  • --dry-run=false β€” don't apply any changes; just output what would be done. it's giving "look but don't touch" ✨
  • --kubernetes-version="stable-1" β€” choose a specific Kubernetes version for the control plane πŸ¦‹

🧚 OPTIONS INHERITED FROM PARENT COMMANDS 🧚

  • --rootfs="" β€” the path to the 'real' host root filesystem. this will cause kubeadm to chroot into the provided path. lowkey powerful, use with intention πŸ’…
  • --version=false β€” --version, --version=raw prints 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! ngl that last part is such a mood πŸ™ˆ


and that's the whole page, bestie β€” KUBERNETES(1)(kubernetes), from the Manuals section, sitting pretty in User, dated January 2015 ✨ go forth and generate those etcd peer certs, you absolute main character πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from