Installing MicroK8s on macOS
The installer for MicroK8s uses HomeBrew. If you don’t have the
brew command you can install it from the Homebrew website.
Download the MicroK8s installer
brew install ubuntu/microk8s/microk8s
Run the installer
Check the status while Kubernetes starts
microk8s status --wait-ready
Turn on the services you want
microk8s enable dashboard microk8s enable dns microk8s enable registry microk8s enable istio
microk8s enable --help for a list of available services built in. The
microk8s disable command turns off a service.
Start using Kubernetes!
microk8s kubectl get all --all-namespaces
Access the Kubernetes dashboard
Start and stop Kubernetes
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/resources by stopping them. the
microk8s stopcommands will do the work for you.