kind – Quick Start
This resource provides a quick start guide for installing and using Kind, which allows you to run local Kubernetes clusters using Docker containers. It covers cluster creation, interaction with kubectl, and loading custom container images for testing different Kubernetes versions or local development.
Overzicht
Toegevoegd op
17 maart 2026
Vak & domein
computer-science-advanced · devops-site-reliability-engineering
Schooljaar
Klas 1 (brugklas)–Klas 4
Paginatype
Article
Inleiding
kind Quick Start Guide
- Overview:
kind(Kubernetes in Docker) allows you to run local Kubernetes clusters using Docker containers as "nodes." - Installation:
- Release Binaries: Download from the official releases page and add to your
$PATH. - Go: Install via
go install sigs.k8s.io/kind@v0.31.0(requires Go 1.16+). - Make: Use
make buildfor a reproducible build without requiring a local Go installation. - Package Managers: Community-supported packages are available for Homebrew, MacPorts, Chocolatey, Scoop, and Winget.
- Release Binaries: Download from the official releases page and add to your
- Cluster Management:
- Create:
kind create cluster(defaults to namekind). Use--imageto specify a Kubernetes version and--waitto block until the control plane is ready. - List:
kind get clusters. - Delete:
kind delete cluster(idempotent; no error if the cluster doesn't exist).
- Create:
- Interaction:
kindautomatically manages~/.kube/config.- Use
kubectlwith the--contextflag (e.g.,kind-kind) to target specific clusters.
- Image Handling:
- Load local images into the cluster using
kind load docker-image <image-name>. - Important: If using
:latesttags, ensureimagePullPolicyis set toIfNotPresentorNeverto prevent the cluster from attempting to pull the image from a remote registry.
- Load local images into the cluster using
- Node Images:
kinduses pre-built node images fromkindest/node.- Custom node images can be built from Kubernetes source, official release tarballs, or local files using
kind build node-image.
- Runtime Support:
kindauto-detects Docker, Podman, or nerdctl. You can force a specific runtime using theKIND_EXPERIMENTAL_PROVIDERenvironment variable.
Community-recensies
Nog geen gepubliceerde recensies. Deel als eerste uw ervaring.