KUBERNETES(1)(kubernetes)

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

πŸ’– KUBERNETES(1) β€” the kubernetes manual, section 1 πŸ’–

okay bestie, sit down, hydrate, and let's talk about kubeadm certs renew apiserver-etcd-client because this lil command is doing so much for your cluster's trust issues 🫢


✨ NAME ✨

kubeadm certs renew apiserver-etcd-client β€” it renews the certificate that the apiserver uses to talk to etcd, no cap πŸ”


✨ SYNOPSIS ✨

kubeadm certs renew apiserver-etcd-client [OPTIONS]

✨ DESCRIPTION ✨

So basically: this renews the certificate the apiserver uses to access etcd. That's the whole vibe. πŸ’…

And here's the tea β€” renewals run unconditionally, like, regardless of the certificate expiration date. Not expired? Doesn't matter, it's getting renewed anyway. Extra attributes like SANs will be based on the existing file/certificates, so you do not need to resupply them. She already knows her own lore. 😌

By default, renewal tries to use the certificate authority in the local PKI managed by kubeadm. As an alternative, you can use the K8s certificate API for certificate renewal β€” or, as a last option, generate a CSR request. Three paths, pick your fighter. ✨

🚨 ok but listen: after renewal, to make the changes effective you have to restart the control-plane components, and eventually re-distribute the renewed certificate in case the file is used elsewhere. Do not skip this part, I am begging πŸ™ˆ

✨ OPTIONS ✨

  • --cert-dir="/etc/kubernetes/pki" β€” where the certificates get saved πŸŽ€
  • --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 isn't 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! πŸ“œ


and that's the whole page, bestie!! this one lives in the kubernetes manual, section 1, and it's marked as Manuals / User β€” dated way back in January 2015, authored by Eric Paris, and it's giving "kubeadm is so old money" energy πŸ‘‘ you're welcome, go restart those control-plane components, slay, periodt πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from