Self-Hosting · Advanced
Light Orchestration: When Compose Stops Being Enough (Swarm and k3s)
Every homelab eventually has the thought: what if the NAS dies and everything is just… down? Orchestration — spreading services across machines so one failure isn’t total — is the standard answer, and also a standard way to turn a hobby into an unpaid operations job. This guide names the actual signals that you need it, and compares the two sane-sized options: Docker Swarm and k3s.
Published Nov 20, 2026
The signals (and the non-signals)
You have outgrown single-host Compose when: a host failure takes down something your household genuinely depends on (the DNS, the password vault) for longer than anyone tolerates; you own two or more capable hosts and one idles while the other saturates; or you are deliberately learning orchestration as a skill, which is a fine reason said out loud. You have not outgrown it because a dashboard looks cool, because Kubernetes is on a job posting you might someday want (that’s the learning reason — own it), or because one container once restarted badly — that is what the restart policies and healthchecks are for. Orchestration trades your rarest problem (host death) for a permanent new system to run; make the trade with the numbers in front of you.
Docker Swarm: the small step
Swarm mode is still built into Docker Engine itself (its docs are current, and Mirantis — which maintains Swarm commercially — publicly commits to supporting it for at least the next three years as of its May 2026 statement). Its appeal is continuity: your Compose files become “stacks” with minor edits, services get replicas and rolling updates, and a three-node cluster of modest machines reschedules containers when one dies. Its limits are equally real: no rich ecosystem of add-ons, networking and secrets models that are simpler and therefore blunter, and a community whose center of gravity moved to Kubernetes years ago. For a household whose goal is “the important services survive a dead mini PC,” Swarm is frequently the correct, boring answer.
k3s: the real thing, downsized
k3s (v1.37.2 at writing) is genuine Kubernetes — the same API, the same Helm charts, the same skills — packaged by Rancher into a single binary that runs a server node in about 2 cores and 2 GB of RAM (agents in 512 MB). What you gain is the entire Kubernetes ecosystem and behavior: self-healing workloads, declarative everything, storage and ingress as solved-ish problems. What you pay is the Kubernetes tax in full: YAML as a lifestyle, certificate and etcd care, upgrades as a recurring ceremony, and debugging that assumes you know the platform’s vocabulary. A sensible lab path is three small nodes (mini PCs or VMs) with the truly-stateful things — databases, your NAS’s file services — left on the NAS where they belong, orchestrating the stateless and the important-but-rebuildable.
The rule that decides it
Orchestrate availability, not everything. The mature end-state most labs converge on: Compose on the NAS for the storage-bound stack (media, photos, files), a small cluster for the household-critical few (DNS, vault, Home Assistant’s helpers), and the discipline from the drills guide to prove that a node can die on a Saturday morning and nobody writes a post about it. If reading this section felt like a warning rather than an invitation, believe it — single-host done well beats a cluster done tired, every week of the year.
Official documentation and references
- Docker Swarm mode docs — current Engine documentation
- k3s documentation — requirements and architecture
- Mirantis blog — Swarm support commitments, from the steward
Frequently asked questions
Is Docker Swarm dead?
No — Swarm mode remains part of Docker Engine with current documentation, and Mirantis (its commercial steward) stated in May 2026 that it will support Swarm for at least the next three years. It is a mature, slow-moving platform rather than a growing one; for home availability goals, mature and slow-moving is often exactly right.
How many machines do I need for k3s to be worth it?
Three server-capable nodes is the practical minimum for the high-availability story (quorum survives one loss); a single-node k3s gives you the Kubernetes API and learning value but no availability gain over Compose. Those nodes can be modest — 2 cores and 2 GB of RAM per server node is the documented floor — but three always-on machines is a power and maintenance commitment to count first.
Should my NAS join the cluster?
Usually as storage, not as a node. Let the NAS keep doing what it is best at (files, backups, the media stack in Compose) and export storage to the cluster over NFS using the patterns in our share-design guide. Cluster nodes stay stateless and replaceable; the NAS stays the place data lives.
What breaks first when people try this?
Storage assumptions. Compose spoils you with local bind mounts; a rescheduled pod lands on another node where that path doesn’t exist. Design for it from day one: stateless containers in the cluster, state in databases you back up properly or on the NAS, and nothing precious living only in a node’s local disk.

