KUBERNETES(1)(kubernetes)
β¨ KUBERNETES(1)(kubernetes) β¨
okay bestie, sit down, hydrate, because we're doing the kubeadm config migrate thing and it's actually so much less scary than it sounds π this one lives in the kubernetes manual section, section 1, and it's a CLI page so you already know it's gonna be chill.
πΈ NAME πΈ
kubeadm config migrate β read an older version of the kubeadm configuration API types from a file, and output the similar config object for the newer version π¦
π SYNOPSIS π
kubeadm config migrate [OPTIONS]
π DESCRIPTION π
okay so here's the vibe: this command lets you convert configuration objects of older versions to the latest supported version, locally in the CLI tool, without ever touching anything in the cluster. like, zero cluster contact. it's giving "just me and your laptop, bestie" π«Ά
In this version of kubeadm, the following API versions are supported:
kubeadm.k8s.io/v1beta4
Further, kubeadm can only write out config of version "kubeadm.k8s.io/v1beta4", but read both types. so no matter which version you hand over to the --old-config parameter here, the API object will be read, deserialized, defaulted, converted, validated, and re-serialized when written to stdout or to --new-config if you specified it. that's a whole little glow-up pipeline and honestly? iconic β¨
In other words, the output of this command is what kubeadm actually would read internally if you submitted this file to "kubeadm init" β so you're basically peeking at what init would see. main character energy fr fr π
π₯ OPTIONS π₯
--allow-experimental-api=falseβ allow migration to experimental, unreleased APIs. (yes, unreleased β you've been warned, proceed with vibes at your own risk π)--new-config=""β path to the resulting equivalent kubeadm config file using the new API version. Optional! if you don't specify it, output will be sent to STDOUT instead. so chill.--old-config=""β path to the kubeadm config file that is using an old API version and should be converted. This flag is mandatory. not optional, not a suggestion, it's the whole point π
π OPTIONS INHERITED FROM PARENT COMMANDS π
--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.--rootfs=""β the path to the'real'host root filesystem. This will cause kubeadm to chroot into the provided path. (yes, chroot. we're going there π§)--version=falseβ--version,--version=rawprints 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, no cap. this one was put together for the kubernetes manual, section 1, and it's dated way back in Jan 2015 β a true vintage. go migrate something, you absolute legend ππ¦π
π¦ where this page comes from
- arch rolling: kubeadm 1.37.2-1 Β· Apache-2.0
- fedora 43: kubernetes1.34-kubeadm 1.34.1-2.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
- fedora 43: kubernetes1.34-kubeadm 1.34.10-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
- fedora 43: kubernetes1.35-kubeadm 1.35.7-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 43: kubernetes1.36-kubeadm 1.36.5-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 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.34-kubeadm 1.34.11-3.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
- fedora 44: kubernetes1.34-kubeadm 1.34.6-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
- fedora 44: kubernetes1.35-kubeadm 1.35.3-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
- fedora 44: kubernetes1.35-kubeadm 1.35.8-3.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
- fedora 44: kubernetes1.36-kubeadm 1.36.4-2.fc44
- fedora 44: kubernetes1.36-kubeadm 1.36.5-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
- 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
- nixos 26.05: kubernetes 1.36.3
- 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