Skip to content
Latchkey

istioctl x precheck: Pre-Install Readiness

istioctl x precheck inspects the target cluster and reports whether it meets the prerequisites for installing or upgrading Istio.

Run precheck before install in a pipeline so an unready cluster fails fast with a clear reason instead of a half-applied control plane.

What it does

istioctl x precheck runs a set of environment analyzers against the cluster: Kubernetes version compatibility, required permissions (can the installer create the needed cluster-scoped resources), conflicting or leftover Istio installs, and webhook readiness. It prints blocking issues that would fail an install.

Common usage

Terminal
istioctl x precheck
# check readiness for a specific revision upgrade
istioctl x precheck --revision 1-22-0

Options

FlagWhat it does
--revision <name>Check readiness for a specific control-plane revision
-o jsonMachine-readable output for CI

In CI

Chain istioctl x precheck && istioctl install so the install only runs on a green precheck. It catches a too-old Kubernetes version or missing RBAC before you have a partially installed mesh to clean up.

Common errors in CI

"Kubernetes version ... is not supported" means the API server is older than the Istio minimum; upgrade the cluster or pin an older Istio. "Missing Kubernetes permissions" lists the RBAC the service account lacks, common when a CI token is scoped too tightly. A warning about an existing install means a prior control plane is still present and must be removed or reconciled.

Related guides

Run this faster and cheaper on Latchkey managed runners. Start free →