You can now set up a baby Kubernetes cluster on Raspberry Pi

Raspberry Pi
(Image credit: Raspberry Pi Foundation)

Canonical, the company behind popular Linux distro Ubuntu, recently released the latest version of MicroK8, which enables the building of Kubernetes environments on the edge.

MicroK8s is Canonical’s lightweight Kubernetes distro, which offers a quick and relatively simple way for people to spin Kubernetes clusters.

With the latest MicroK8s 1.21 release, Canonical has managed to further trim the memory footprint of the distro to enable users to deploy containers on resource-strapped edge devices, such as the Raspberry Pi.

Released together with Kubernetes 1.21, MicroK8s 1.21 boasts of a 32.5% smaller RAM footprint than the previous v1.20 release when benchmarked against both single node and multi-node deployments, according to Canonical.

Small footprint

As MicroK8s is especially designed for edge and Internet of Things (IoT) use cases, users were constantly bugging the company to slim it down enough to enable them to use it to build clusters on hardware such as the Raspberry Pi and the Nvidia Jetson, notes Canonical's Product Manager for data center solutions Alex Chalkias,

With the smaller footprint of the latest release, it’s now possible to run MicroK8s on devices with less than 1Gb of memory “and still leave room for multiple container deployments, needed in use cases such as three-tier website hosting or AI/ML model serving,” writes Chalkias. 

He explains that the smaller footprint was achieved by compiling all upstream binaries into a single binary prior to packaging. 

Earlier, all Kubernetes upstream binaries were either compiled “as they were” or compiled using the snap packaging mechanism. This created a package that weighed 218MB and deployed a full Kubernetes instance of 800MB. 

With the new packaging strategy, MicroK8s weighs in at just 192MB and enables a Kubernetes of 540MB.

Via ZDNet

TOPICS
Mayank Sharma

With almost two decades of writing and reporting on Linux, Mayank Sharma would like everyone to think he’s TechRadar Pro’s expert on the topic. Of course, he’s just as interested in other computing topics, particularly cybersecurity, cloud, containers, and coding.

Read more
The 16GB Raspberry Pi 5 board
You can now get a Raspberry Pi 5 with 16GB RAM
Debian with Raspberry Pi Desktop main image
Debian with Raspberry Pi Desktop review
Dreamfyre Mini PC
Forget about a $120 Raspberry Pi 5 barebone, I found a much better mini PC that has 512GB SSD, a far more powerful CPU, Windows 11 Pro and an actual casing
Close up of the Linux penguin.
Best lightweight Linux distro of 2025
AMD
Eat this, Raspberry Pi 5: Here are 3 powerful AMD Ryzen Mini PCs that sell for under $180 and trounce more expensive SBCs
A person using a desktop computer.
Best weird and wonderful niche Linux distros of 2025
Latest in Pro
cybersecurity
What's the right type of web hosting for me?
Security padlock and circuit board to protect data
Trust in digital services around the world sees a massive drop as security worries continue
Hacker silhouette working on a laptop with North Korean flag on the background
North Korea unveils new military unit targeting AI attacks
An image of network security icons for a network encircling a digital blue earth.
US government warns agencies to make sure their backups are safe from NAKIVO security issue
Laptop computer displaying logo of WordPress, a free and open-source content management system (CMS)
This top WordPress plugin could be hiding a worrying security flaw, so be on your guard
construction
Building in the digital age: why construction’s future depends on scaling jobsite intelligence
Latest in News
Apple iPhone 16 Review
The latest iPhone 18 leak hints at a major chipset upgrade for all four models
Quordle on a smartphone held in a hand
Quordle hints and answers for Sunday, March 23 (game #1154)
NYT Strands homescreen on a mobile phone screen, on a light blue background
NYT Strands hints and answers for Sunday, March 23 (game #385)
NYT Connections homescreen on a phone, on a purple background
NYT Connections hints and answers for Sunday, March 23 (game #651)
Google Pixel 9 Pro Fold main display opened
Apple is rumored to be prioritizing battery life on the foldable iPhone – which could also feature a liquid metal hinge for added durability
Google Pixel 9
The Google Pixel 10 just showed up in Android code – and may come with a useful speed boost