KUBERNETES(1)(kubernetes)

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

πŸ’– KUBERNETES β€” the kubernetes manual, bestie edition πŸ’–

okay so real talk, this is a page from the kubernetes manual, and the specific little corner we're looking at is the kubeadm upgrade apply phase preflight command. yes it's a mouthful, no you don't have to say it out loud, we're all friends here. πŸŽ€

fun fact before we even start: the original author credit goes to Eric Paris, way back in Jan 2015. ancient. iconic. our foremother. πŸ‘‘


✨ NAME ✨

kubeadm upgrade apply phase preflight β€” Run preflight checks before upgrade

that's it. that's the whole job. it runs the preflight checks, and then the upgrade happens after. she's the bouncer at the club door checking everyone's vibes before the upgrade walks in. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

kubeadm upgrade apply phase preflight [OPTIONS]

no positional args, just the command and whatever flags you wanna hand her. clean. minimal. main character energy. ✨


🌸 DESCRIPTION 🌸

Run preflight checks before upgrade

literally what it says on the tin, bestie. this phase does the checking, the verifying, the "are we actually allowed to do this" of it all β€” before the actual upgrade gets to happen. think of it as the vibe check that happens before the glow-up. 🫢


πŸ’… OPTIONS πŸ’…

so here's where it gets juicy. every single one of these flags, no skips, no cuts, we're eating the whole plate. πŸ“

  • --allow-experimental-upgrades=false β€” Show unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes. (default is false, so by default she is NOT about to let you rawdog an alpha build. respect.)
  • --allow-release-candidate-upgrades=false β€” Show release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes. (also defaults to false. the RC life is opt-in, bestie.)
  • --config="" β€” Path to a kubeadm configuration file. (default empty string, i.e. you're on your own for config unless you say otherwise.)
  • --dry-run=false β€” Do not change any state, just output what actions would be performed. (the "let me rehearse it in the mirror first" flag. so valid.)
  • -f, --force=false β€” Force upgrading although some requirements might not be met. This also implies non-interactive mode. (⚠️ this one is the I know better than the checks button β€” it also means she stops asking you questions, so buckle up.)
  • --ignore-preflight-errors=[] β€” A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks. (default is an empty list, i.e. no ignoring, no mercy. 😭)
  • --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. (note the default here is literally /etc/kubernetes/admin.conf.)
  • -y, --yes=false β€” Perform the upgrade and do not prompt for confirmation (non-interactive mode). (the "yes bestie just do it" flag. default false because consent matters. 🫢)

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these ones trickle down from the parent command, like hand-me-downs but make it infrastructure. πŸ‘‘

  • --rootfs="" β€” The path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path. (default empty string.)
  • --version=false β€” --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version. (default false. yes, one flag, three whole personalities. πŸ’€)

πŸ”₯ SEE ALSO πŸ”₯

go read the sibling page, she's cool too. 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!

shoutout to Eric, genuinely. and to the auto-generators who took over after β€” hope y'all are thriving. 🧚


ngl, this page is from the kubernetes manual, tagged as Manuals / User, and the version stamp at the bottom is KUBERNETES(1)(kubernetes). that's the whole tea. πŸŽ€

okay bye bestie, go run your preflight checks, hydrate, and don't --force anything you can't explain. πŸ’–βœ¨πŸŒΈπŸ¦‹πŸ’…

πŸ“¦ where this page comes from