talira

MicroK8s

Zero-ops, pure-upstream, HA Kubernetes, from developer workstations to production

open sourceApache-2.0self-hostablefree

MicroK8s is Canonical's minimal, CNCF-certified Kubernetes distribution, installed on Linux as a single snap (sudo snap install microk8s --classic) that bundles its dependencies and can follow upstream releases through snap channels. It runs from a single node on a laptop, in CI or on an IoT device up to a self-healing high-availability cluster, and add-ons turned on with one command provide DNS, ingress, a dashboard, GPU support, Prometheus, Istio, Linkerd, Knative and more. On Windows and macOS its installers run it in a virtual machine. It's Apache-2.0, with enterprise support and long-term security maintenance available from Canonical.

Ways to install

App stores

Problems it solves

  • install a working cluster on Ubuntu with one command and no manual setup
  • turn on DNS, ingress, a dashboard or GPU support for my cluster with a single command each
  • a small cluster for IoT appliances and edge devices that gets security updates automatically
  • a cluster on three nodes that heals itself when one fails, without designing the control plane
  • track the latest upstream release on a channel and get patch updates automatically
  • run a local development cluster on Windows or macOS that matches what we run in production on Ubuntu
  • a cluster distribution with commercial support and long-term security fixes from the OS vendor
  • run a cluster on a Raspberry Pi or an NVIDIA DGX machine
  • install a cluster on machines behind a proxy or with no internet access

Features

  • single snap package with all dependencies; Kubernetes releases from 1.10 onward
  • add-ons toggled with one command: DNS, ingress, dashboard, Prometheus, Grafana, Jaeger, Istio, Linkerd, Knative, GPU
  • self-healing high availability clustering
  • security updates applied immediately or on a maintenance schedule
  • Windows installer (Hyper-V or VirtualBox) and macOS install with Homebrew
  • install guides for Raspberry Pi, NVIDIA DGX, LXD, Multipass, WSL2, proxies and air-gapped hosts
  • strict confinement install option
  • enterprise support and up to 15 years of security maintenance through Ubuntu Pro

Limitations

  • Doesn't run natively on Windows or macOS: the Windows installer needs Hyper-V or VirtualBox, the macOS one Multipass, with at least 4 GB RAM and 40 GB disk23

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what MicroK8s does.

  1. minikube Run a local Kubernetes cluster on macOS, Linux and Windows
  2. k0s The Simple, Solid & Certified Kubernetes Distribution
  3. K3s Lightweight Kubernetes. Easy to install, half the memory, all in a binary of less than 100 MB.
  4. kind Run local Kubernetes clusters using Docker container nodes
  5. k3d Little helper to run CNCF's k3s in Docker
  6. RKE2 Rancher's enterprise-ready next-generation Kubernetes distribution, focused on security and compliance

Compare MicroK8s with the top 3