k8s with Kind save my time on Apple Silicon M1

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>

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ketut Ariasa

Ketut Ariasa

Code for life, Music for soul, Coffee for heal.