Kind cheat sheet¶
Kind cheatsheet featuring all the necessary commands required to deploy a kubernetes cluster through Kind.
Create a cluster
kind create cluster
Use a custom name for the cluster
kind create cluster --name=clusterName
Create a cluster with a custom node image
kind create cluster --image=image
Use a custom configuration for the cluster
kind create cluster --config=cluster.yaml
When creating a cluster, assign a waiting time for the control plane to go up
kind create cluster --wait <timeInterval>
View the list of the running clusters
kind get clusters
View information about a cluster
kubectl cluster-info --context kind-clusterName
Export logs
kind export logs
Delete a cluster
kind delete cluster --name clusterName
ABBR
abbr "kicc"="kind create cluster"
abbr "kiccn"="kind create cluster --name %"
abbr "kiccc"="kind create cluster --config %"
abbr "kigc"="kind get clusters"
abbr "kign"="kind get nodes"
abbr "kidc"="kind delete cluster"
abbr "kidcn"="kind delete cluster --name %"
abbr "kidca"="kind delete clusters -A"
abbr "kigk"="kind get kubeconfig"