KUBERNETES(1)(kubernetes)

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

✨ NAME ✨

kubeadm certs renew super-admin.conf β€” bestie, this one renews the certificate embedded in the kubeconfig file for the super-admin πŸ‘‘

This page lives in the KUBERNETES(1)(kubernetes) manual, and the whole thing was originally compiled by Eric Paris back in Jan 2015 πŸ’–


🌸 SYNOPSIS 🌸

kubeadm certs renew super-admin.conf [OPTIONS]

πŸ’… DESCRIPTION πŸ’…

So what this does is renew the certificate embedded in the kubeconfig file for the super-admin. That's the vibe. That's the whole assignment. 🫢

Renewals run unconditionally, no cap β€” it does not care whether your certificate expiration date says it's fine or not. It's renewing anyway, periodt. And extra attributes like SANs get based on the existing file/certificates, so you do not need to resupply them. Not me saving you a whole extra step 😌

By default, renewal 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. And as a last option β€” the final resort, the backup backup β€” it can generate a CSR request. Options on options, we love to see it 🌈

Now listen, this part matters: after renewal, to make your changes actually effective, you have to restart control-plane components, and eventually re-distribute the renewed certificate if the file is used elsewhere too. It's giving "you did the thing but the thing isn't live yet" πŸ’€


⭐ 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. And if the flag is not set, a set of standard locations can be searched for an existing kubeconfig file πŸ”

πŸŽ€ OPTIONS INHERITED FROM PARENT COMMANDS πŸŽ€

These cuties came from the parent commands, so they're here too:

  • --rootfs="" β€” the path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path πŸŒ€
  • --version=false β€” --version and --version=raw print version information and then quit; --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! πŸ™ˆ


Okay that's the whole page, bestie β€” go forth and renew that super-admin cert πŸ’–βœ¨ This was the Manuals edition, User section, KUBERNETES(1)(kubernetes) πŸ¦‹πŸŒΈπŸ‘‘

πŸ“¦ where this page comes from