kubeadm - Man Page
kubeadm: easily bootstrap a secure Kubernetes cluster
Examples (TL;DR)
- Create a Kubernetes master node:
kubeadm init
- Bootstrap a Kubernetes worker node and join it to a cluster:
kubeadm join --token token
- Create a new bootstrap token with a TTL of 12 hours:
kubeadm token create --ttl 12h0m0s
- Check if the Kubernetes cluster is upgradeable and which versions are available:
kubeadm upgrade plan
- Upgrade Kubernetes cluster to a specified version:
kubeadm upgrade apply version
- View the kubeadm ConfigMap containing the cluster's configuration:
kubeadm config view
- Revert changes made to the host by 'kubeadm init' or 'kubeadm join':
kubeadm reset
Eric Paris Jan 2015
Synopsis
kubeadm [Options]
Description
┌──────────────────────────────────────────────────────────┐ │ KUBEADM │ │ Easily bootstrap a secure Kubernetes cluster │ │ │ │ Please give us feedback at: │ │ https://github.com/kubernetes/kubeadm/issues │ └──────────────────────────────────────────────────────────┘
Example usage:
Create a two-machine cluster with one control-plane node (which controls the cluster), and one worker node (where your workloads, like Pods and Deployments run). ┌──────────────────────────────────────────────────────────┐ │ On the first machine: │ ├──────────────────────────────────────────────────────────┤ │ control-plane# kubeadm init │ └──────────────────────────────────────────────────────────┘ ┌──────────────────────────────────────────────────────────┐ │ On the second machine: │ ├──────────────────────────────────────────────────────────┤ │ worker# kubeadm join <arguments-returned-from-init> │ └──────────────────────────────────────────────────────────┘ You can then repeat the second step on as many other machines as you like.
Options
--azure-container-registry-config="" Path to the file containing Azure container registry configuration information.
--rootfs="" [EXPERIMENTAL] The path to the 'real' host root filesystem.
--version=false --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version
See Also
kubeadm-alpha(1), kubeadm-certs(1), kubeadm-completion(1), kubeadm-config(1), kubeadm-init(1), kubeadm-join(1), kubeadm-kubeconfig(1), kubeadm-reset(1), kubeadm-token(1), kubeadm-upgrade(1), kubeadm-version(1),
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!
Referenced By
kubeadm-alpha(1), kubeadm-certs(1), kubeadm-completion(1), kubeadm-config(1), kubeadm-init(1), kubeadm-join(1), kubeadm-kubeconfig(1), kubeadm-reset(1), kubeadm-token(1), kubeadm-upgrade(1), kubeadm-version(1).