k8s with Kind save my time on Apple Silicon M1

Ketut Ariasa
1 min readMar 6, 2021
kind vs nice

When i wrote this article, minikube is still not yet compatible with apple silicon M1. I always use minikube to test the environment on my local machine, and I really frustated that the minikube does not work well on my apple M1.

To be honest, I don’t know anything more about the kind thing until finally stuck with minikube .

So let go beeline to the point and install kind:

brew install kind

And create new cluster with arm64 friendly from rossgeorgive:

kind create cluster --image rossgeorgiev/kind-node-arm64:v1.20.0

And might be you will need some other service like dashboard, the dashboard is not available by default, we need to deploy first:

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml

And create a AccountService based on doc. And finally you can deploy your deployment as usual.

Lastly, you can see images list on kind with command:

docker exec -it kind-control-plane crictl images

And also you can remove images on kind with command:

docker exec -it kind-control-plane crictl rmi <image>

--

--