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, listen. this is a page from the KUBERNETES(1)(kubernetes) manual β€” yes the big one β€” and we're gonna go through it together. it was originally compiled by Eric Paris back in Jan 2015 (ancient history fr fr, but the lore matters). it's in the User manual section. let's get into it 🫢


✨ NAME ✨

kubeadm certs renew etcd-peer β€” renew the certificate for etcd nodes to communicate with each other πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

kubeadm certs renew etcd-peer [OPTIONS]

🌸 DESCRIPTION 🌸

so basically: renew the certificate for etcd nodes to communicate with each other. that's the whole vibe. πŸŽ€

and here's the tea β€” renewals run unconditionally, regardless of certificate expiration date. like, it does NOT check if you actually need it, it just goes. and extra attributes such as SANs will be based on the existing file/certificates β€” there is no need to resupply them. so don't come in here trying to hand it a whole new set of SANs, it already knows. 😌

renewal by default tries to use the certificate authority in the local PKI managed by kubeadm. but 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. ⭐

and after renewal, in order to make changes effective, you are required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere. no cap, the renewal alone is not the whole story β€” go finish the job, queen. πŸ‘‘


πŸ’… 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 to chroot into the provided path. πŸŒ€
  • --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! 😭 iconic honestly.


and that's the whole page, bestie πŸŽ€ this was the User manual, part of the KUBERNETES(1)(kubernetes) collection. go forth and renew those etcd-peer certs responsibly. mwah πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from