Kind

Installation

"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.

You can either install kind with GO111MODULE="on" go get sigs.k8s.io/kind@v0.8.1 or clone this repoopen in new window and execute from the repository the command

> make build
1

Please use the latest Go when installing KIND from source, ideally go 1.14 or greater.

Without installing Go, kind can be built reproducibly with docker using make build. Stable releases are generally recommended for CI usage in particular. To install, download the binary for your platform from “Assets” and place this into your $PATH .

Start a Cluster

  1. Run the following command:
> kind create cluster
1

This will bootstrap a Kubernetes cluster using a pre-built node image - you can find it on docker hubopen in new window. By default, the cluster will be given the name kind. Use the --name flag to assign the cluster a different context name.

TIP

Now you have a working Kubernetes cluster running locally using Kind and have proper authentication using kubectl to connect to the cluster you can proceed to Kubernetic Installation guide.