Search⌘ K
AI Features

Create a Cluster

Explore the process of creating a local Kubernetes cluster using Kind to set up a sandbox environment. Understand how to verify cluster creation, check running Docker containers, and monitor logs to ensure the cluster is ready for Helm usage and application deployment.

To work with Helm we need to have a Kubernetes cluster sandbox first. In this course, we’ll be using kind as a local cluster. Let’s see how it works.

Manage a Kubernetes cluster

Create a cluster

Let’s begin with creating a cluster by executing the following command in the terminal below:

Shell
kind create cluster

We can say that a cluster has been successfully created by looking at the output of the kind create cluster command.

First, let’s see if a Docker container is running:

Shell
docker ps

The output will be as follows:

CONTAINER ID   IMAGE                  STATUS  
efcf4b73c74d   kindest/node:v1.21.1   Up 8 minutes  

We can also check the logs to see if everything is okay:

Shell
docker logs kind-control-plane

The output will be as follows:

INFO: ensuring we can execute
...