LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

kubeadm

bootstraps Kubernetes clusters

TLDR

Initialize control plane
$ sudo kubeadm init
copy
Join worker node
$ sudo kubeadm join [control-plane:6443] --token [token] --discovery-token-ca-cert-hash [hash]
copy
Create join token
$ kubeadm token create --print-join-command
copy
Reset node
$ sudo kubeadm reset
copy
Upgrade cluster
$ sudo kubeadm upgrade apply [v1.28.0]
copy
Generate default config
$ kubeadm config print init-defaults
copy

SYNOPSIS

kubeadm command [options]

DESCRIPTION

kubeadm is the official Kubernetes cluster bootstrapping tool that automates the setup of a production-grade control plane. It handles the complex initialization process including generating TLS certificates for cluster components, configuring the kubelet, deploying the kube-apiserver, kube-controller-manager, and kube-scheduler as static pods, and installing cluster-essential add-ons like CoreDNS and kube-proxy.The workflow centers on two primary commands: `kubeadm init` to create a new control plane on the first node, and `kubeadm join` to add worker nodes or additional control plane nodes to an existing cluster using bootstrap tokens. The tool also manages cluster lifecycle operations such as upgrading Kubernetes versions across the cluster, rotating certificates, and resetting nodes back to a clean state.kubeadm follows Kubernetes best practices and conformance standards, but intentionally does not provision the underlying infrastructure or install a CNI network plugin, keeping it focused on cluster bootstrapping while remaining composable with other tools for complete cluster management.

PARAMETERS

init

Initialize control plane.
join ENDPOINT
Join cluster as node.
reset
Reset node to pre-init state.
upgrade
Upgrade cluster components.
token CMD
Manage join tokens.
config CMD
Manage configuration.
--help
Display help information.

INSTALL

sudo pacman -S kubeadm
copy
sudo apk add kubeadm
copy

CAVEATS

Requires root. Container runtime needed. Network plugin not included.

HISTORY

kubeadm was created as the official cluster bootstrapping tool for Kubernetes, simplifying cluster setup.

SEE ALSO

kubectl(1), kops(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid