KUBERNETES(1)(kubernetes)
β¨ KUBERNETES(1)(kubernetes) β¨
okay bestie, welcome to the kubeadm corner of the manual pages π this one lives in the kubernetes manual, and it was originally scribbled down by Eric Paris back in Jan 2015. yes, a real person, with a real email, we'll get to that. π«Ά
πΈ NAME πΈ
kubeadm config validate β read a file containing the kubeadm configuration API and report any validation problems π
so likeβ¦ you hand it a config file, it reads it, and it tells you if anything's wrong with it. that's the whole vibe. no notes. π
π SYNOPSIS π
kubeadm config validate [OPTIONS]
π¦ DESCRIPTION π¦
okay so this command lets you validate a kubeadm configuration API file and report any warnings and errors. it's literally the vibe check for your config file, no cap. π
here's the deal with the exit status, and this part matters so listen up:
- if there are no errors, the exit status will be zero β¨
- otherwise it will be non-zero π
any unmarshaling problems β like unknown API fields β will trigger errors. unknown API versions and fields with invalid values will also trigger errors. and any other errors or warnings may be reported depending on contents of the input file. so basically, it's reading your file very closely and it has opinions. π
in this version of kubeadm, the following API versions are supported:
kubeadm.k8s.io/v1beta4
that's the one. the only one. she's the main character. π
π OPTIONS π
--allow-deprecated-api=falseβ allow validation of deprecated APIs. lowkey living in the past but make it intentional. π°οΈ--allow-experimental-api=falseβ allow validation of experimental, unreleased APIs. bestie is out here testing the unreleased stuff, we respect it. π§ͺ--config=""β path to a kubeadm configuration file. this is the file it's gonna validate, so like, definitely set it. π
π«Ά OPTIONS INHERITED FROM PARENT COMMANDS π«Ά
these ones come down from the parent command, like hand-me-downs but useful:
--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. so it'll go looking for one itself if you don't tell it where to look. π--rootfs=""β the path to the'real'host root filesystem. this will cause kubeadm to chroot into the provided path. (yes,'real'is in quotes in the original, we're keeping it exactly like that, it's giving mysterious.) π--version=falseβ--version,--version=rawprints version information and quits;--version=vX.Y.Z...sets the reported version. three modes, one flag, she contains multitudes. β
π SEE ALSO π
that's it, that's the whole list, we keep it tight. π
π 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, honestly, iconic of him. and yeah, the "hopefully automatically generated since" is real, we're not making that up, it's in the source. it's giving "this was a lot of manual work and I would like a robot to do it now." π
heads up bestie: this page is from the Manuals section, User category, and the source is KUBERNETES(1)(kubernetes) β so go forth, validate those configs, and may your exit status always be zero. πβ¨π
π¦ where this page comes from
- arch rolling: kubeadm 1.37.2-1 Β· Apache-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.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