Docs / Kubernetes & Orchestration / How to Install MicroK8s on Ubuntu

How to Install MicroK8s on Ubuntu

By Admin · Mar 1, 2026 · Updated Apr 23, 2026 · 28 views · 1 min read

What Is MicroK8s?

MicroK8s is a lightweight, snap-based Kubernetes distribution from Canonical. It provides a full Kubernetes experience with optional add-ons and is well suited for development, testing, and small production workloads on a Breeze.

Requirements

  • A Breeze with at least 2 GB RAM
  • Ubuntu 20.04 or later
  • Snap package manager (pre-installed on Ubuntu)

Install MicroK8s

sudo snap install microk8s --classic --channel=1.28/stable
sudo usermod -aG microk8s $USER
newgrp microk8s

Verify Installation

microk8s status --wait-ready
microk8s kubectl get nodes

Enable Essential Add-ons

microk8s enable dns storage ingress dashboard

These add-ons provide CoreDNS for service discovery, default storage classes, an Nginx ingress controller, and the Kubernetes dashboard.

Set Up kubectl Alias

echo "alias kubectl='microk8s kubectl'" >> ~/.bashrc
source ~/.bashrc

Access the Dashboard

microk8s kubectl port-forward -n kube-system service/kubernetes-dashboard 10443:443 --address 0.0.0.0

Then visit https://your-breeze-ip:10443 in your browser.

Retrieve Dashboard Token

microk8s kubectl create token default

MicroK8s vs K3s

  • MicroK8s uses snap packaging with easy add-on management
  • K3s uses a single binary with lower memory usage
  • Both are certified Kubernetes distributions

MicroK8s is a solid choice when you want modular add-ons and snap-based updates on your Breeze.

Was this article helpful?