Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting our team. We will be in touch shortly.Close

  1. Blog
  2. Article

wgs1
on 20 June 2019


UPDATED in July 2020 with the latest instruction set.

Are you looking for a Kubernetes solution to run on your Mac? MicroK8s is a lightweight, pure upstream distribution of Kubernetes developed by Canonical. It’s a compact Linux snap that installs a single-node Kubernetes cluster alongside carefully selected add-ons on Linux, Windows and macOS. Although MicroK8s was originally built for Linux, Kubernetes on Mac works natively with MicroK8s, using an Ubuntu virtual machine (VM).

MicroK8s has a low resource footprint and can be used as a single-node Kubernetes or as a multi-node cluster. This allows teams to develop and test their cloud-native applications, build CI-CD pipelines, develop AI/ML models or embed an auto-upgradeable Kubernetes in IoT and edge appliances.

While MicroK8s automates the typical functions of Kubernetes, such as scheduling, scaling and debugging, it also abstracts some of its complexity by pre-packaging add-ons such as DNS, the Kubernetes dashboard, and Istio. Additionally, MicroK8s follows the upstream Kubernetes release cadence, making new versions available within days of the official release.

Kubernetes on Mac set up steps

The following steps are required to download MicroK8s on macOS and set up the necessary add-ons to access the MicroK8s dashboard.

Step 1: Install MicroK8s

brew install ubuntu/microk8s/microk8s
microk8s install

If you don’t have the brew command you can get it from the Homebrew website.

Step2: Check MicroK8s status

microk8s status --wait-ready

Step 3: Enable the dashboard add-on

microk8s enable dashboard

Step 4: Access the Kubernetes dashboard

microk8s dashboard-proxy

Kubernetes on Mac in summary

MicroK8s is easy to install and provides a nice way to do Kubernetes on Mac workstations. For larger-scale use cases, MicroK8s nodes can be clustered together. To read more about clustering and other advanced MicroK8s configuration, continue reading and exploring with the official MicroK8s documentation.

Useful reading

Related posts


Marcin "Perk" Stożek
14 March 2024

How should a great K8s distro feel? Try the new Canonical Kubernetes, now in beta

Kubernetes Article

Try the new Canonical Kubernetes beta, our new distribution that combines ZeroOps for small clusters and intelligent automation for larger production environments that also want to benefit from the latest community innovations ...


Tytus Kurek
12 January 2024

Cloud-native infrastructure – When the future meets the present

Cloud and server Article

We’ve all heard about cloud-native applications in recent years, but what about cloud-native infrastructure? Is there any reason why the infrastructure couldn’t be cloud-native, too? Or maybe it’s already cloud-native, but you’ve never had a chance to dive deep into the stack to check it out? What does the term “cloud-native infrastructur ...


Marcin "Perk" Stożek
14 December 2023

Canonical Kubernetes 1.29 is now generally available

Kubernetes Article

A new upstream Kubernetes release, 1.29, is generally available, with significant new features and bugfixes. Canonical closely follows upstream development, harmonising our releases to deliver timely and up-to-date enhancements backed by our commitment to security and support – which means that MicroK8s 1.29 is now generally available as ...