kubeadm-init-phase-preflight(1)

kubeadm-init-phase-preflight1

Run pre-flight checks

Usage

kubeadm init phase preflight [OPTIONS]

Eric Paris Jan 2015

Overview

Run pre-flight checks for kubeadm init.

Options

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

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

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

--image-repository="registry.k8s.io"
Choose a container registry to pull control plane images from

Options inherited from parent commands

--rootfs=""
The path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.

--version=false
--version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version

Examples

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

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!

From kubeadm 1.37.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.