kind(1)
kind is a tool for running local Kubernetes clusters using Docker containers as cluster nodes.
Synopsis
kind [COMMAND] [FLAGS]Description
kind (Kubernetes IN Docker) lets you quickly spin up local Kubernetes clusters for development and testing by running cluster nodes as Docker containers. Each container runs a complete Kubernetes node, making it ideal for CI/CD pipelines, local development, and testing without needing a full VM setup.
kind handles cluster creation, deletion, image loading, and node management through simple subcommands. It automatically pulls the appropriate Kubernetes images and configures networking so your local cluster works seamlessly with Docker.
Common options
| Flag | What it does |
|---|---|
--version | print the kind version and exit |
-h, --help | show help message for the command |
--verbosity | set logging verbosity level (0-9, default 0) |
--quiet | suppress all logging output |
Examples
create a new local Kubernetes cluster with default name 'kind' and 1 control-plane node
kind create clustercreate a cluster named 'my-cluster' with 1 control-plane and 2 worker nodes
kind create cluster --name my-cluster --nodes 3list all existing kind clusters
kind get clustersload a local Docker image into the kind cluster so it can be used in pods
kind load docker-image myapp:latest --name my-clusterdelete the specified kind cluster and clean up all associated containers
kind delete cluster --name my-clusterprint the kubeconfig for the cluster to stdout
kind get kubeconfig --name my-clusterdisplay cluster information for the kind cluster using kubectl
kubectl cluster-info --context kind-my-clustercreate a cluster using a YAML configuration file for advanced setup (multiple nodes, extra mounts, etc.)
kind create cluster --config cluster-config.yaml