Scroll to navigation

KUBERNETES(1)(kubernetes) KUBERNETES(1)(kubernetes)
Eric Paris Jan 2015


kubeadm join phase preflight - Run join pre-flight checks


kubeadm join phase preflight [OPTIONS]


Run pre-flight checks for kubeadm join.


--apiserver-advertise-address="" If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.

--apiserver-bind-port=6443 If the node should host a new control plane instance, the port for the API Server to bind to.

--certificate-key="" Use this key to decrypt the certificate secrets uploaded by init.

--config="" Path to a kubeadm configuration file.

--control-plane=false Create a new control plane instance on this node

--cri-socket="" Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.

--discovery-file="" For file-based discovery, a file or URL from which to load cluster information.

--discovery-token="" For token-based discovery, the token used to validate cluster information fetched from the API server.

--discovery-token-ca-cert-hash=[] For token-based discovery, validate that the root CA public key matches this hash (format: ":").

--discovery-token-unsafe-skip-ca-verification=false For token-based discovery, allow joining without --discovery-token-ca-cert-hash pinning.

--dry-run=false Don't apply any changes; just output what would be done.

--ignore-preflight-errors=[] A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.

--node-name="" Specify the node name.

--tls-bootstrap-token="" Specify the token used to temporarily authenticate with the Kubernetes Control Plane while joining the node.

--token="" Use this token for both discovery-token and tls-bootstrap-token when those values are not provided.


--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


# Run join pre-flight checks using a config file.
kubeadm join phase preflight --config kubeadm-config.yaml




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!

User Manuals