Alex Chalkias
on 9 July 2020


This article is more than 4 year s old.

High availability (HA) for MicroK8s, the lightweight Kubernetes, is now available as a tech preview for Linux, Windows and macOS. The Kubernetes control plane can now be distributed across multiple nodes, bringing resiliency to the cluster while maintaining a low footprint using Dqlite, the distributed SQL engine as the Kubernetes datastore.

On Linux, you can download and test highly available MicroK8s from the ‘ha-preview’ branch:

sudo snap install microk8s --classic --channel=latest/edge/ha-preview

If you already have MicroK8s, learn how to upgrade to the ha-preview channel and set up your MicroK8s HA cluster in the MicroK8s HA documentation

If you want to test the HA feature on Windows and macOS, follow the corresponding installation instructions and run the following command after the installation is complete:

multipass exec microk8s -- sudo snap refresh microk8s --classic --channel=latest/edge/ha-preview

Note that the ha-preview version comes with the high availability feature enabled by default. This means that adding at least two nodes to the cluster will automatically form a highly available control plane across the three nodes.

Once you have added the additional nodes to the HA cluster, microk8s status output will look like this:

We would love to hear your feedback on this new feature, so feel free to reach out to our team on Discourse, the Kubernetes Slack #microk8s channel or raise any bugs you might find on MicroK8s GitHub.


Newsletter
signup

Get the latest Ubuntu news and updates in your inbox.

By submitting this form, I confirm that I have read and agree to Canonical's Privacy Policy.

Related posts


Andreea Munteanu
20 March 2025

Accelerating AI with open source machine learning infrastructure

Article AI

The landscape of artificial intelligence is rapidly evolving, demanding robust and scalable infrastructure. To meet these challenges, we’ve developed a comprehensive reference architecture (RA) that leverages the power of open-source tools and cutting-edge hardware. This architecture, built on Canonical’s MicroK8s and...

Andreea Munteanu
20 March 2025


Canonical
11 February 2025

Canonical announces 12 year Kubernetes LTS 

Article Canonical announcements

Canonical’s Kubernetes LTS (Long Term Support) will support FedRAMP compliance and receive at least 12 years of committed security maintenance and enterprise support on bare metal, public clouds, OpenStack, Canonical MicroCloud and VMware. February 11,  2025 Today, Canonical announced a 12 year security maintenance and...

Canonical
11 February 2025


Marcin "Perk" Stożek
14 March 2024

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

Article Kubernetes

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

Marcin "Perk" Stożek
14 March 2024