Multi-node Kubernetes cluster with kind
In this section, we are going to discuss a tool called kind
, which is also designed to run a Kubernetes cluster locally, just like minikube
.
The whole idea behind kind
is to use Docker or Podman containers as Kubernetes nodes thanks to the Docker-in-Docker (DinD) or Containers-in-Container model. By launching containers, which themselves contain the container engines and the kubelet, it is possible to make them behave as Kubernetes worker nodes.
The following diagram shows the high-level architecture of kind
cluster components:
Figure 3.3: kind cluster components (image source: https://kind.sigs.k8s.io/docs/design/initial)
This is exactly the same as when you use the Docker driver for minikube
, except that there, it will not be done in a single container but in several. The result is a local multi-node cluster. Similar to minikube
, kind
is a free open-source tool.
Similar to minikube
, kind
is a tool that is used...