<p>I'm looking to see if it's currently possible to run Kubernetes locally on a 2020 M1 MacBook air.</p>
<p>The environment I need is relatively simple, just for going through some tutorials. As an example, this <a href="https://sdk.operatorframework.io/docs/building-operators/golang/tutorial/" rel="noreferrer">operator-sdk guide</a>.</p>
<p>So far I've tried <code>microk8s</code> and <code>minikube</code>, as they're tools I've used before on other machines.</p>
<p>For both of these, I've installed them using <code>brew</code> after opening the terminal app &quot;with Rosetta 2&quot;
(i.e like <a href="https://doesitarm.com/app/homebrew/benchmarks/#rU-fa0sbCGs" rel="noreferrer">this</a>). My progress is then:</p>
<p><strong>Minikube</strong></p>
<p>When I run <code>minikube start --driver=docker</code> (having installed the <a href="https://www.docker.com/blog/download-and-try-the-tech-preview-of-docker-desktop-for-m1/" rel="noreferrer">tech preview of Docker Desktop for M1</a>), an initialization error occurs. It seems to me that this is being tracked here <a href="https://github.com/kubernetes/minikube/issues/9224" rel="noreferrer">https://github.com/kubernetes/minikube/issues/9224</a>.</p>
<p><strong>Microk8s</strong></p>
<p><code>microk8s install</code> asks to install <code>multipass</code>, which then errors with <code>An error occurred with the instance when trying to start with 'multipass': returned exit code 2. Ensure that 'multipass' is setup correctly and try again.</code>. Multipass shows a <code>microk8s-vm</code> stuck in starting. I think this may relate to this issue <a href="https://github.com/canonical/multipass/issues/1857" rel="noreferrer">https://github.com/canonical/multipass/issues/1857</a>.</p>
<p>I'm aware I'd probably be better chasing up those issues for help on these particular errors. What would be great is any general advice on if it's currently possible/advisable to setup a basic Kubernetes env for playing with on an M1 mac. I'm not experienced with the underlying technologies here, so any additional context is welcome. :)</p>
<p>If anyone has suggestions for practising Kubernetes, alternative to setting up a local cluster, I'd also appreciate them. Thanks!</p>

James Cockbain
<p>First, it is usually good to have Docker when working with containers. Docker now has a <a href="https://www.docker.com/blog/download-and-try-the-tech-preview-of-docker-desktop-for-m1/" rel="noreferrer">Tech Preview of Docker for Apple M1 based macs</a>.</p>
<p>When you have a workin Docker on your machine, it should also work to use <a href="https://kind.sigs.k8s.io/" rel="noreferrer">Kind</a> - a way to run Kubernetes on Docker containers.</p>
