Yunseok's Dev Blog

배운 것을 적는 블로그입니다.

kind

Create cluster

kind create cluster --name <cluster-name> --config <config.yaml>

Delete cluster

kind delete cluster --name <cluster-name>

Interact with kind

export KUBECONFIG="$(kind get kubeconfig-path)"
kubectl cluster-info

# with cluster name
export KUBECONFIG="$(kind get kubeconfig-path --name="kind-m")"

Sources

  • https://github.com/kubernetes-sigs/kind