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, this is a page from the kubernetes manual, section 1 (that's the "user commands" section, iykyk), and it was originally written by Eric Paris back in Jan 2015 ✨


🌸 NAME 🌸

kubeadm init phase certs etcd-server β€” generate the certificate for serving etcd πŸ’…


✨ SYNOPSIS ✨

kubeadm init phase certs etcd-server [OPTIONS]

πŸŽ€ DESCRIPTION πŸŽ€

So what this does is generate the certificate for serving etcd, and then it saves them into the etcd/server.crt and etcd/server.key files. That's it. That's the whole job. πŸ‘‘

The default SANs are localhost, 127.0.0.1, 127.0.0.1, ::1 β€” yes bestie, 127.0.0.1 really is in there twice, I'm not kidding, that's literally what it says πŸ™ˆ

And here's the chill part: if both files already exist, kubeadm skips the generation step entirely and the existing files just get used. no drama, no overwrite, we love a low-maintenance icon 🫢


πŸ’œ OPTIONS πŸ’œ

  • --cert-dir="/etc/kubernetes/pki" β€” the path where the certificates get saved and stored. that default path is iconic fr fr
  • --config="" β€” path to a kubeadm configuration file.
  • --dry-run=false β€” don't apply any changes; just output what would be done. perfect for when you're nosy but not committed πŸ’€
  • --kubernetes-version="stable-1" β€” choose a specific Kubernetes version for the control plane.

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these ones aren't even hers, she got them from her parent commands, nepotism but make it useful ✨

  • --rootfs="" β€” the path to the 'real' host root filesystem. this will cause kubeadm to chroot into the provided path. yes, chroot. it's giving commitment.
  • --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! 😭


and that's the whole page, bestie πŸ’– this came from the Manuals / User shelf, and it's KUBERNETES(1)(kubernetes) β€” go forth and generate those certs, you absolute main character πŸ‘‘βœ¨

πŸ“¦ where this page comes from