Kind Concepts: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
<font size=-2> | <font size=-2> | ||
CONTAINER ID IMAGE [...] | CONTAINER ID IMAGE [...] NAMES | ||
3108457ff1b6 [...]/kind:v1.27.3-3966ac76 | 3108457ff1b6 [...]/kind:v1.27.3-3966ac76 kind-worker | ||
c90cb24cc040 [...]kind:v1.27.3-3966ac76 kind-control-plane | c90cb24cc040 [...]kind:v1.27.3-3966ac76 kind-control-plane | ||
2702defb0752 [...]/registry:2 kind-registry | 2702defb0752 [...]/registry:2 kind-registry |
Revision as of 23:53, 5 December 2023
Internal
Overview
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.
Cluster
A Kubernetes cluster can be created with kind create cluster
. The "nodes" are implemented as Docker containers. Upon creation of a default cluster, it will report two nodes, "kind-control-plane" and "kind-worker". The corresponding Docker containers are:
CONTAINER ID IMAGE [...] NAMES 3108457ff1b6 [...]/kind:v1.27.3-3966ac76 kind-worker c90cb24cc040 [...]kind:v1.27.3-3966ac76 kind-control-plane 2702defb0752 [...]/registry:2 kind-registry
What is a kind cluster? Where does it live?
"Node" Image
The “node” image is a Docker image for running nested containers, systemd, and Kubernetes components.