Serdar Yegulalp
Senior Writer

Rancher K3s shrinks Kubernetes for IoT devices

news
Feb 26, 20192 mins

An open source project by Rancher Labs strips Kubernetes down to the bare essentials for edge computing and other resource-constrained use cases

iot global growth wireless internet industrial iot smart home connect mobile devices
Credit: Getty Images

Rancher Labs, creator of the Rancher Kubernetes management system and the RancherOS container-centric Linux distribution, has announced a new Kubernetes distro built to be slender and simple.

K3s, as it’s called—a play on “K8s,” a common abbreviation for Kubernetes—is aimed mainly at the edge computing and standalone device markets, but can also support scenarios such as a self-contained Kubernetes-powered app distribution. The x86-64, ARM64, and ARMv7 platform architectures are all supported.

K3s uses a variety of techniques to squeeze a Kubernetes distribution into 512 MB of RAM, using a single 40 MB binary. K3s omits many features that bloat up most Kubernetes distributions, such as rarely used plug-ins, and consolidates the various functions of a Kubernetes distribution into a single process. Nevertheless, Rancher Labs claims K3s passes CNCF’s “Certified Kubernetes  Distribution” tests.

Most of what has been removed is “alpha functionality that is disabled by default or old features that have been deprecated, such as old API groups, which are still shipped in a standard deployment,” according to Rancher Labs’s press notes. New Kubernetes deployments would not use those features anyway, since they exist solely for the sake of backwards compatibility. The vast majority of those features were implemented as plug-ins, meaning they can be re-implemented if needed.

K3s also replaces components commonly found in the Kubernetes stack with less resource-intensive substitutes. Instead of a full instance of Docker as the runtime engine for containers, K3s uses Docker’s core container runtime, Containerd. This way, many elements normally included with Docker can be omitted.

Another Kubernetes component, Etcd—the distributed database used for tracking state across a cluster—can be swapped out for SQLite, as SQLite uses fewer resources.

K3s is currently being offered as an open source project with no official support by Rancher Labs, but the company believes it will begin to offer official support by the third quarter of 2019.

Serdar Yegulalp

Serdar Yegulalp is a senior writer at InfoWorld. A veteran technology journalist, Serdar has been writing about computers, operating systems, databases, programming, and other information technology topics for 30 years. Before joining InfoWorld in 2013, Serdar wrote for Windows Magazine, InformationWeek, Byte, and a slew of other publications. At InfoWorld, Serdar has covered software development, devops, containerization, machine learning, and artificial intelligence, winning several B2B journalism awards including a 2024 Neal Award and a 2025 Azbee Award for best instructional content and best how-to article, respectively. He currently focuses on software development tools and technologies and major programming languages including Python, Rust, Go, Zig, and Wasm. Tune into his weekly Dev with Serdar videos for programming tips and techniques and close looks at programming libraries and tools.

More from this author