Canonical, the company behind popular Linux distro (opens in new tab) Ubuntu (opens in new tab), recently released the latest version of MicroK8, which enables the building of Kubernetes (opens in new tab) 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 (opens in new tab).
- Check out our list of the best cloud computing (opens in new tab) services right now
- These are the best cloud databases (opens in new tab) on the market
- Here’s our list of the best virtual machine software (opens in new tab)
Released together with Kubernetes 1.21, MicroK8s 1.21 boasts of a 32.5% smaller RAM (opens in new tab) footprint than the previous v1.20 release when benchmarked against both single node and multi-node deployments, according to Canonical.
As MicroK8s is especially designed for edge and Internet of Things (IoT) (opens in new tab) 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 (opens in new tab) or AI/ML (opens in new tab) 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.
- Subscribe to Linux Format magazine (opens in new tab) for more Linux and open source goodness
Via ZDNet (opens in new tab)