kind is a tool for running local Kubernetes clusters using Docker container “nodes”. kind was primarily designed for testing Kubernetes itself, but may be used for local development or CI.
→ ,
CLI
# makes sure kind is available from the command line
kind version
# creates a cluster
kind create cluster
# gets clusters
kind get clusters
# sets kubectl context
kubectl cluster-info --context kind-kind
# looks at images
docker exec -it my-node-name crictl images
# builds an image
docker build -t my-custom-image:unique-tag ./my-image-dir
kind load docker-image my-custom-image:unique-tag
kubectl apply -f my-manifest-using-my-image:unique-tag
# deletes a cluster
kind delete cluster