🔬
Container Platform

MicroK8s

Single-command Kubernetes from Canonical

🐧 Linux🍎 Mac🪟 Windows📋 Quick reference →
Reviewed: Tested on: Kubernetes 1.29 · Terraform 1.8 · Ubuntu 22.04

If you're on Kubernetes 1.27 or older

  • Ingress: networking.k8s.io/v1 is required — v1beta1 removed in 1.22+
  • Pod Security: PodSecurityPolicy removed in 1.25 — use Pod Security Admission (PSA) labels
  • HPA v2 autoscaling/v2 is stable — check API version in manifests

If you're on Kubernetes 1.28

  • Sidecar containers (1.29+) change init-container ordering — review sidecar docs before upgrade
  • Verify metrics-server and HPA after control plane bump

Alternative — team standard for Local Kubernetes

What is this?

MicroK8s gives you a full Kubernetes cluster with a single snap install.

📥

Step 01

Install MicroK8s

(01)Install MicroK8s

Linux
1sudo snap install microk8s --classic
2sudo usermod -aG microk8s $USER
3newgrp microk8s
4microk8s status --wait-ready
⚙️

Step 02

Configure MicroK8s

(01)Configure MicroK8s

Linux
1microk8s enable dns storage ingress
2microk8s kubectl get nodes

Step 03

Verify

(01)Verify installation

Linux
1microk8s kubectl get pods -A