brew install ubuntu/microk8s/microk8s
microk8s install
Don't have the brew command? Get it from the Homebrew website.
microk8s status --wait-ready
microk8s enable dashboard dns registry istio
microk8s kubectl get all --all-namespaces
If you mainly use MicroK8s you can run the native macOS version of kubectl on your command-line.
microk8s dashboard-proxy
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