• By Canonical Kubernetes
Channel Version Revision Published Runs on
latest/stable 3b3344f 22 31 May 2022
Ubuntu 22.04 Ubuntu 20.04
latest/beta 7476be5 20 28 Apr 2022
Ubuntu 22.04 Ubuntu 20.04
latest/edge 26 26 29 Aug 2022
Ubuntu 22.04 Ubuntu 20.04
juju deploy microk8s
Show information


22.04 20.04


The smallest, fastest Kubernetes

Single-package fully conformant lightweight Kubernetes that works on 42 flavours of Linux. Perfect for:

  • Developer workstations
  • IoT
  • Edge
  • CI/CD


This charm deploys and manages a MicroK8s cluster. It can handle scaling up and down.

Minimum Requirements: 1 vCPU and 1GB RAM.

Recommended Requirements: 2 vCPUs and 4GB RAM, 20GB disk.

Make sure to account for extra requirements depending on the workload you are planning to deploy.

juju deploy --constraints 'cores=2 mem=4G' microk8s

Then, retrieve the kubeconfig file with:

mkdir -p ~/.kube
juju run-action microk8s/leader kubeconfig
juju scp microk8s/leader:config ~/.kube/config

In some clouds (e.g. OpenStack), you will need to expose the application before you can access it from the external network:

juju expose microk8s

Enable addons with:

juju config microk8s addons='storage dns ingress'
Scale Out Usage
juju add-unit -n 2 microk8s


Unit tests
Integration tests

The integration tests require a bootstrapped Juju controller.


Build from source

charmcraft pack
cp hacks/lxd-profile.yaml .
charmcraft pack