...

/

Create a Cluster

Create a Cluster

Learn how to create a Kubernetes cluster with kind.

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:

Press + to interact
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:

Press + to interact
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:

Press + to interact
docker logs kind-control-plane

The output will be as follows:

INFO: ensuring we can execute
...