#4270·kind

Add a preflight-only check before creating a cluster

Author: LionelTrichetCreated Sep 27, 2026Updated Sep 29, 2026
Labelskind/feature

What would you like to be added?

It would be useful to have a way to run kind's host and container-runtime checks without actually starting cluster creation.

For example:

bash
kind create cluster --preflight-only

The command could run the checks that kind can perform safely before creating any containers or networks, such as:

  • detecting and connecting to the selected container runtime;
  • checking whether the runtime provides the capabilities kind requires;
  • validating rootless/cgroup requirements where applicable;
  • validating the supplied kind configuration and selected provider.

Ideally, it would exit with 0 when the environment looks ready and return a useful error otherwise.

It would also be helpful if it accepted the same relevant options as kind create cluster, such as --config and --image, so the preflight check matches the cluster that is about to be created.

Why is this needed?

A number of kind create cluster failures come from host or container-runtime configuration problems that are only reported once cluster creation has already started.

This is especially noticeable in CI and rootless environments, where things like runtime availability, cgroup configuration, or missing runtime capabilities can make a job fail before Kubernetes itself is involved.

Having a preflight-only mode would make it possible to verify an environment before doing any cluster setup.

For automated environments it could also be used as a simple readiness check before running the actual kind create cluster command.

The goal wouldn't be to guarantee that cluster creation will succeed, but to surface the host/runtime problems kind can already detect before any cluster state is created.