Cloud & containers

How to deploy your Kubernetes cluster locally with Kind on Linux Ubuntu

Deploy a local Kubernetes cluster on Ubuntu 22.04 with Kind, a tool that runs its nodes as Docker containers, then create an nginx pod from a YAML file.

· 1 min read · level: intermediate · on Ubuntu 22.04
Illustration 1 — Comment déployer votre Cluster Kubernetes en local avec Kind sur Linux Ubuntu ?

Kind is a tool for running Kubernetes clusters. Kind was mainly designed to test Kubernetes itself, but it can also be used for local development or for CI (continuous integration).

Kind runs a local cluster using Docker containers as "nodes".


This setup will be based on Ubuntu 22.04 . We will first create a Kubernetes cluster locally, then explore the basic components present in the cluster, and we will then create an nginx pod inside the cluster using a YAML file.

Illustration 2 — Comment déployer votre Cluster Kubernetes en local avec Kind sur Linux Ubuntu ?

We can see that Kind makes it possible to create nodes locally on a single host, and it will therefore be necessary to use other technologies such as kubeadm or minikube for a move into production, or simply to deploy a cluster across several hosts.