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

You can now run a full Kubernetes cluster with less than 600 Mb of RAM

When you purchase through links on our site, we may earn an affiliate commission.Here’s how it works.

Canonical, the company behind popularLinux distroUbuntu, recently released the latest version of MicroK8, which enables the building ofKubernetesenvironments 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 theRaspberry Pi.

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

Small footprint

Small footprint

As MicroK8s is especially designed for edge andInternet 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 theNvidiaJetson, 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-tierwebsite hostingorAI/MLmodel serving,” writes Chalkias.

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

Are you a pro? Subscribe to our newsletter

Are you a pro? Subscribe to our newsletter

Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!

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.

ViaZDNet

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

New fanless cooling technology enhances energy efficiency for AI workloads by achieving a 90% reduction in cooling power consumption

Samsung plans record-breaking 400-layer NAND chip that could be key to breaking 200TB barrier for ultra large capacity AI hyperscaler SSDs

NYT Strands today — hints, answers and spangram for Sunday, November 10 (game #252)