KUBERNETES(1)(kubernetes)
π KUBERNETES(1)(kubernetes) π
okay bestie, so this is a page from the kubernetes manual (section 1, "kubernetes"), and it's all about one lil' subcommand that does one big job. pull up a chair, grab a boba, we're doing this. π§β¨
πΈ NAME πΈ
kubeadm init phase control-plane controller-manager β generates the kube-controller-manager static Pod manifest. that's it, that's the whole job. it makes the manifest. slay. π
β¨ SYNOPSIS β¨
kubeadm init phase control-plane controller-manager [OPTIONS]
π¦ DESCRIPTION π¦
Generates the kube-controller-manager static Pod manifest.
like. it literally just writes out the manifest file for the kube-controller-manager static Pod. no cap. that's the entire vibe of this command. π
π OPTIONS π
--cert-dir="/etc/kubernetes/pki"β the path where to save and store the certificates. yes the default is literally/etc/kubernetes/pki, she lives there, respect her. π--config=""β path to a kubeadm configuration file.--controller-manager-extra-args=β a set of extra flags to pass to the Controller Manager or override default ones, in the form of=. yes, in the form of=. that's the whole spec. iykyk. π--dry-run=falseβ don't apply any changes; just output what would be done. the "i'm just looking, i'm not buying" of flags. set it totrueand nothing actually happens, you just get to peek. π--image-repository="registry.k8s.io"β choose a container registry to pull control plane images from. default isregistry.k8s.io, she's the moment. π₯--kubernetes-version="stable-1"β choose a specific Kubernetes version for the control plane. defaultstable-1. iconic.--patches=""β path to a directory that contains files named"target[suffix][+patchtype].extension". for example,"kube-apiserver0+merge.yaml"or just"etcd.json".
"target" can be one of "kube-apiserver", "kube-controller-manager", "kube-scheduler", "etcd", "kubeletconfiguration", "corednsdeployment", "kubeproxydaemonset".
"patchtype" can be one of "strategic", "merge" or "json", and they match the patch formats supported by kubectl. the default "patchtype" is "strategic".
"extension" must be either "json" or "yaml".
"suffix" is an optional string that can be used to determine which patches are applied first, alpha-numerically.
ngl this one is a whole entire naming convention and it's giving very specific. read it twice, bestie. π«Ά
--pod-network-cidr=""β specify range of IP addresses for the pod network. if set, the control plane will automatically allocate CIDRs for every node. π
π OPTIONS INHERITED FROM PARENT COMMANDS π
these bad boys come down from the parent command, they're not even this command's own, they just show up like a supportive bestie. π₯Ή
--rootfs=""β the path to the'real'host root filesystem. this will causekubeadmto chroot into the provided path. yes it chroots. she's moving in. π--version=falseβ--version,--version=rawprints version information and quits;--version=vX.Y.Z...sets the reported version.
β SEE ALSO β
go read that one next, it's the parent, it's the main character, this command is literally its child. π
π 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. go forth, generate thatkube-controller-managerstatic Pod manifest, and remember:--dry-run=truefirst, always. π₯
this lil' page lives in the Manuals section, User subsection, under KUBERNETES(1)(kubernetes), and it's dated Jan 2015. mwah. π
π¦ 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