KUBERNETES(1)(kubernetes)

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

✨ KUBERNETES(1)(kubernetes) ✨

okay so bestie, you opened the kubernetes manual (section 1, the user-commands zone πŸ’…) and honestly? iconic. The original was compiled by Eric Paris back in Jan 2015 and we are still here, thriving. Let's go. πŸ¦‹


🌸 NAME 🌸

kubeadm upgrade node phase post-upgrade β€” Run post upgrade tasks ✨

Like. That's literally the whole name. It does the after-party chores of an upgrade. πŸŽ€


πŸ’– SYNOPSIS πŸ’–

kubeadm upgrade node phase post-upgrade [OPTIONS]

Short, sweet, and yes, it takes [OPTIONS] β€” we're gonna go through every single one, no skipping, that's the rule. 😀


🫢 DESCRIPTION 🫢

Run post upgrade tasks.

That's it, that's the description, it's giving minimalism. You run it and it does the post-upgrade stuff on the node. Main character energy, zero explanation. Periodt. πŸ‘‘


πŸ‘‘ OPTIONS πŸ‘‘

  • --config="" β€” Path to a kubeadm configuration file. πŸ“ Hand it your config and it will actually know what you want. Default is empty string, so nothing's assumed.
  • --dry-run=false β€” Do not change any state, just output the actions that would be performed. This is the "look but don't touch" flag and I'm obsessed with it. Default is false, meaning by default it does change state. Use --dry-run=true first if you're feeling spicy-but-cautious. 🌈
  • --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. Default path is literally /etc/kubernetes/admin.conf, no cap. πŸ”₯

🧚 OPTIONS INHERITED FROM PARENT COMMANDS 🧚

These ones trickle down from the parent commands, they're not native to this little phase but they still work here. Family reunion vibes. πŸ’œ

  • --rootfs="" β€” The path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path. 😭 Heads up bestie β€” it literally chroots in, so make sure that path is what you actually mean. Default is empty string.
  • --version=false β€” --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version. Yes, it's doing three different things depending on what you feed it. She contains multitudes. Default is false.

🌟 SEE ALSO 🌟

Go read that one too, bestie, it's the parent situation and it'll make this whole thing make sense. iykyk. πŸ’…


πŸ“œ 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!

not the 2015 documentation saying "hopefully they have been automatically generated since" β€” the AUDACITY, the RELATABILITY, the eternal dev mood 😭


Quick vibe check: --dry-run=false is the default, so a plain run will change state. If you want the ✨pretend✨ version, pass --dry-run=true. That's not me guessing, that's literally what the page says. 🫢

and that's the whole page, we ate and left no crumbs πŸ’– This was Manuals / User territory, from the KUBERNETES(1)(kubernetes) manual β€” go forth and upgrade those nodes, bestie, you've got this πŸŽ€πŸ¦‹β­

πŸ“¦ where this page comes from