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, welcome to the kubernetes manual, section 1 β€” yes she's the real deal, she's a User command, and she is ready to spill. 🫢


✨ NAME ✨

kubeadm init phase certs apiserver β€” generate the certificate for serving the Kubernetes API. that's the whole vibe. πŸ’…


🌸 SYNOPSIS 🌸

kubeadm init phase certs apiserver [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically, this bad boy generates the certificate for serving the Kubernetes API, and it saves them into the apiserver.crt and apiserver.key files. iconic behavior, no notes. πŸ’–

and listen β€” if both of those files already exist, kubeadm literally just skips the whole generation step and the existing files get used instead. she's not doing extra work for nobody. periodt. ✨


πŸ‘‘ OPTIONS πŸ‘‘

  • --apiserver-advertise-address="" β€” the IP address the API Server will advertise it's listening on. if you don't set it, the default network interface gets used. lowkey convenient fr.
  • --apiserver-cert-extra-sans=[] β€” optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. can be both IP addresses and DNS names, so go off. πŸŽ€
  • --cert-dir="/etc/kubernetes/pki" β€” the path where to save and store the certificates. that's her home. 🏠
  • --config="" β€” path to a kubeadm configuration file.
  • --control-plane-endpoint="" β€” specify a stable IP address or DNS name for the control plane. stability is main character energy. πŸ’œ
  • --dry-run=false β€” don't apply any changes; just output what would be done. it's giving "pretend but make it informative". πŸ™ˆ
  • --kubernetes-version="stable-1" β€” choose a specific Kubernetes version for the control plane.
  • --service-cidr="10.96.0.0/12" β€” use alternative range of IP address for service VIPs.
  • --service-dns-domain="cluster.local" β€” use alternative domain for services, e.g. "myorg.internal". cute name btw. 🌈

πŸ’« OPTIONS INHERITED FROM PARENT COMMANDS πŸ’«

these ones she got from her mother, we love a family tree. 🌸

  • --rootfs="" β€” the path to the 'real' host root filesystem. this will cause kubeadm to chroot into the provided path. okay dramatic but valid. πŸ’…
  • --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!


heads up bestie: the actual page says the API Server will advertise it's listening on β€” that's the original wording, I'm not touching it, I just report. 🀝

okay that's the whole page, you ate that. πŸ’– this was compiled from Manuals, User section, and it's KUBERNETES(1)(kubernetes) β€” dated all the way back to Jan 2015 by Eric Paris. slay forever, king. πŸ‘‘βœ¨πŸ«Ά

πŸ“¦ where this page comes from