KUBERNETES(1)(kubernetes)
π KUBERNETES(1)(kubernetes) β kubeadm upgrade node phase kubelet-config π
okay bestie, sit down, hydrate, because we're doing cluster surgery and it's honestly giving main character energy. this is a page from the kubernetes manual, section 1, and it's all about one very specific little glow-up for one very specific node. π¦
β¨ NAME β¨
kubeadm upgrade node phase kubelet-config β Upgrade the kubelet configuration for this node
πΈ SYNOPSIS πΈ
kubeadm upgrade node phase kubelet-config [OPTIONS]
π DESCRIPTION π
so here's the vibe: this command upgrades the kubelet configuration for this node β and the way it does it is by downloading that config straight from the kubelet-config ConfigMap that lives in your cluster. no cap. it literally just goes and fetches it. π
π OPTIONS π
--config=""β path to a kubeadm configuration file. that's it, that's the whole thing. π--dry-run=falseβ do not change any state, just output the actions that would be performed. a little look-but-don't-touch moment, we love a preview. π--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, she's resourceful. π₯--patches=""β path to a directory that contains files namedtarget[suffix][+patchtype].extension. for example,kube-apiserver0+merge.yamlor justetcd.json. okay so let's break down this naming scheme because it's a whole little language, iykyk:targetcan be one ofkube-apiserver,kube-controller-manager,kube-scheduler,etcd,kubeletconfiguration,corednsdeployment,kubeproxydaemonset.patchtypecan be one ofstrategic,mergeorjsonand they match the patch formats supported bykubectl. the defaultpatchtypeisstrategic.extensionmust be eitherjsonoryaml.suffixis an optional string that can be used to determine which patches are applied first alpha-numerically.
so yes, the ordering is alphabetical-ish, and yes, that matters. β
π OPTIONS INHERITED FROM PARENT COMMANDS π
--rootfs=""β the path to the'real'host root filesystem. this will cause kubeadm to chroot into the provided path. she's going in. π§--version=falseβ--version,--version=rawprints version information and quits;--version=vX.Y.Z...sets the reported version. three moods, one flag. π
π«Ά 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! π the way that last clause is so real.
and that's the whole page, bestie β no notes, periodt. this cutie came out of the kubernetes manual, section 1, under Manuals / User, and the original was dated way back in Jan 2015 (yeah, ancient, iconic, historic). go forth and configure that kubelet. πβ¨π
π¦ where this page comes from
- arch rolling: kubeadm 1.37.2-1 Β· Apache-2.0
- fedora 43: kubernetes1.37-kubeadm 1.37.0-3.fc43
- fedora 43: kubernetes1.37-kubeadm 1.37.1-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- fedora 44: kubernetes1.37-kubeadm 1.37.0-3.fc44
- fedora 44: kubernetes1.37-kubeadm 1.37.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- nixpkgs unstable: kubernetes 1.37.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms