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, so this is one of those kubernetes manual pages (yes, the whole KUBERNETES(1) girlie), originally put together by Eric Paris back in Jan 2015 β€” and we're about to make it make sense πŸ’–


🌸 NAME 🌸

kubeadm certs renew etcd-server β€” renew the certificate for serving etcd, no cap πŸ”βœ¨


πŸŽ€ SYNOPSIS πŸŽ€

kubeadm certs renew etcd-server [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically: renew the certificate for serving etcd. That's the whole job. πŸ’…

Renewals run unconditionally, regardless of certificate expiration date β€” like, she does NOT care if your cert is still valid, she's renewing anyway. Extra attributes such as SANs will be based on the existing file/certificates, so there's literally no need to resupply them. She already knows. She remembers. 🫢

Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm. As an alternative, it's 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 ✨

After renewal, in order to make changes effective, you have to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere. Not optional, bestie. Do the restart. 😭

πŸ’– 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. she'll go looking πŸ”

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

  • --rootfs="" β€” the path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path. yes, chroot, she's that girl 🧚
  • --version=false β€” --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version πŸ“Œ

🌈 SEE ALSO 🌈

kubeadm-certs-renew(1),


πŸ“œ 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, babe πŸŽ€ it's giving Manuals / User energy, version KUBERNETES(1)(kubernetes), dated January 2015 β€” slay, stay renewed, and go restart those control-plane components πŸ’…πŸ’–βœ¨

πŸ“¦ where this page comes from