1. Install MicroK8s on macOS

    brew install ubuntu/microk8s/microk8s
    microk8s install

    Don't have the brew command? Get it from the Homebrew website.

  2. Check the status while Kubernetes starts

    microk8s status --wait-ready
  3. Turn on the services you want

    microk8s enable dashboard dns registry istio
  4. Start using Kubernetes

    microk8s kubectl get all --all-namespaces

    If you mainly use MicroK8s you can run the native macOS version of kubectl on your command-line.

    Learn how

  5. Access the Kubernetes dashboard

    microk8s dashboard-proxy
  6. Start and stop Kubernetes to save battery

    Kubernetes is a collection of system services that talk to each other all the time. If you don’t need them running in the background then you will save battery by stopping them. microk8s start and microk8s stop will do the work for you

    Read the docs to learn more