K3s packages production-ready Kubernetes in a single small binary with lighter memory use, aimed at edge, IoT, CI, development, and ARM deployments.
Overview
K3s is a conformant Kubernetes distribution that bundles core cluster components into one launcher binary. It defaults to sqlite3 for the control plane datastore while supporting etcd3, MariaDB, MySQL, and Postgres, and adds a websocket tunnel so worker kubelet APIs need not expose extra ports on nodes.
It ships opinionated choices for ingress, storage, networking, load balancing, and runtime, which can be disabled or swapped. Built-in helpers cover TLS for cluster components, server–agent connectivity, live application of local manifest changes, and embedded etcd management.
Compared with upstream Kubernetes, the project cites a smaller memory footprint from colocating components in one process and a smaller binary after removing in-tree storage drivers and cloud providers in favor of CSI and CCM alternatives.
Installation commonly uses a curl-based script that registers a systemd or openrc service, writes kubeconfig under /etc/rancher/k3s, and supports joining agents with a server URL and node token. Manual downloads support several CPU architectures including ARM.
Key features
- Single-binary Kubernetes distribution
- Sqlite3 default datastore
- Websocket kubelet API tunnel
- Embedded cluster TLS management
- Local manifest auto-deploy
- ARM64 and ARMv7 support
- Install script with systemd service
- Agent join with URL and token
Use cases
- Edge and IoT Kubernetes clusters
- Resource-constrained remote sites
- Local development clusters
- CI Kubernetes environments
- Raspberry Pi to large ARM servers