DEV Community

Daniel McCrady for Foci Solutions

Posted on • Updated on • Originally published at focisolutions.com

K8s in KIND

I have been playing around with Kubernetes lately and was looking for an easy way to get a cluster going locally. I came across Kind when looking for this solution and found it really easy to use.

It's super easy to get a cluster going especially if you already have kubectl installed. It's fast to install kind as you can just download the executable and include it in your path.

In PowerShell for example

curl.exe -Lo kind-windows-amd64.exe https://kind.sigs.k8s.io/dl/v0.10.0/kind-windows-amd64
Move-Item .\kind-windows-amd64.exe c:\some-dir-in-your-PATH\kind.exe
Enter fullscreen mode Exit fullscreen mode

Getting a cluster going after installation is just as easy

Kind Cluster Created

Commands:

docker ps
kind create cluster
docker ps
watch kubectl get nodes
Enter fullscreen mode Exit fullscreen mode

After a few seconds you will have a control plane up and ready to accept commands. I think it will be really fun to explore what can be done by having a Kubernetes cluster available in such a short amount of time.

Top comments (0)