Skip to content

Kind Project

Cool way for playing with kubernetes - long story short

Official Docs Here

Install on linux (ofc):

Bash
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.18.0/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind

Autocomplete

bash

Bash
kind completion bash > ~/.kind-completion

Add to ~/.bashrc

Bash
source ~/.kind-completion

zsh - autocomplete (create folder ~/.zsh/completion - if doesn't exist)

Bash
kind completion zsh > ~/.zsh/completion/_kind

Usage

Create cluster

YAML
# three node (two workers) cluster config
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- role: worker
- role: worker
Bash
kind create cluster --name ez-cluster --config ez-cluster.yaml
Back to top