---
title: "Single-Node Kubernetes: When It Makes Sense"
date: "2026-11-15T07:21:00+07:00"
description: "A trade-off analysis of one-node clusters — k3s, MicroK8s, minikube, kind — versus the control-plane single point of failure, upgrade downtime, and what breaks when the only node goes down."
author: "AI Assistant"
image: "https://blog.redlinesoft.net/images/post/single-node-kubernetes-when-it-makes-sense.jpg"
alt: "Single small server running a one-node Kubernetes cluster, contrasted with a three-node high-availability cluster diagram"
tags: ['kubernetes', 'single-node', 'k3s', 'capacity-planning', 'trade-offs']
---

Every Kubernetes deployment guide you read assumes three control-plane nodes, and every real-world edge box, homelab, and staging environment you touch runs exactly one. Canonical's distribution comparison table cheerfully ticks "yes" for single-node editions across MicroK8s, OpenShift, and Rancher — but a tick mark hides the trade-offs. A single-node cluster is not a small HA cluster; it is a fundamentally different failure model wearing the same API. This post works through when that model is the right call (and it often is), what specifically breaks when you have one node, and when plain `docker compose` or Podman is the more honest tool.

## What a single-node cluster actually is

Four common shapes, each with different production properties:

| Tool | Control plane | Typical use | Persistence across reboot |
| --- | --- | --- | --- |
| K3s (single server) | embedded, **SQLite** datastore | edge boxes, appliances, CI | yes, on disk |
| MicroK8s | k8s control plane, dqlite/etcd | small on-prem clusters | yes |
| minikube | containerized control plane | local development | driver-dependent |
| kind | control plane **in a Docker container** | CI, conformance tests | no (ephemeral) |

The key upstream fact: Kubernetes itself only ships with etcd. K3s' default datastore is SQLite, which is what makes a $35 single-board "cluster" possible — and also what means your one node holds the only copy of every cluster object. K3s can run embedded etcd with three servers, but on one node you get one writer, one disk, one point of failure. MicroK8s can form HA clusters too, but single-node MicroK8s has the same structural property: the API server's liveness equals the machine's liveness.

## Where it makes sense

**Development and CI.** kind and minikube exist precisely for this: a disposable API server that exercises real scheduling, RBAC, and CRDs without the cost of a cluster. For test suites, a single-node kind cluster that takes 30 seconds to create and is thrown away afterward is strictly better than a shared three-node environment that someone must babysit.

**Edge appliances and point-of-sale / gateway boxes.** If the workload is a local gateway — an on-prem ingress, a cache, a data collector whose consumers are on the same LAN — the alternative to single-node K3s is not a three-node cluster; it is *nothing*. Availability comes from hardware redundancy (dual power, watched systemd units, automatic node reimage), not from cluster topology. This is where K3s' single-binary design earns its reputation.

**Demos, sandboxes, and cost-sensitive internal tooling.** One small VM runs a full conformant cluster for a few dollars a month. Kubernetes' operational overhead — the thing that makes teams pay for managed control planes — drops to near zero when there is exactly one node to patch.

**Learning.** A single node is where you can still read every moving part: one `kubectl get pods -A`, one set of logs, one etcd/SQLite file.

## The control-plane SPOF and the upgrade risk

Here is what you are accepting:

1. **Node loss equals cluster loss.** Not degradation — loss. The API server, the scheduler, and every workload live on the same machine. A kernel panic, a failed SSD, or a `reboot` for a firmware update takes the whole cluster down, and nothing fails over.
2. **Upgrades are downtime windows, not rollouts.** In a multi-node cluster you drain and upgrade nodes one at a time, with PDBs and readiness gates absorbing the churn. On one node, the kubelet upgrade is a full stop: control plane restart, workloads restart, no rolling semantics. You schedule an outage for every Kubernetes minor bump — and upstream support windows mean you must do that regularly.
3. **Recovery is a restore, not a reschedule.** With no peer to re-elect anything, recovery from datastore corruption means stopping the server and restoring from a snapshot. In K3s that is a real, scriptable operation — `k3s etcd-snapshot save` (for embedded-etcd clusters) or filesystem-level backup of `/var/lib/rancher/k3s/server/db` for the SQLite datastore — but it only works if you *made* the backup and tested the restore. A single-node cluster with an untested backup strategy has an RPO measured in "whenever you last felt like it."
4. **Certificates and tokens have no rotation cushion.** Expiry problems that a multi-node cluster hides behind component restarts become "the whole API is unreachable" events on one node. Check with `k3s certificate check-expiration` (or equivalent) on a schedule.

## What breaks: PDBs, storage, and scheduling assumptions

**PodDisruptionBudgets become misleading.** A PDB with `minAvailable: 2` can never be satisfied — the API will simply refuse every voluntary eviction, so `kubectl drain` hangs forever. `minAvailable: 1` or `maxUnavailable: 1` "works" but protects you from nothing: PDBs only guard against *voluntary* disruptions (drain, descheduler, node upgrades). They do nothing for the involuntary kind — the node dying — and on one node, the node dying is the dominant failure mode. The honest availability unit on a single node is the process and the disk, not the pod.

**Storage loses its safety net.** With `local-path-provisioner` (K3s' default) or hostPath, every PVC is pinned to the one node. There is no second replica to fail over to, and node replacement means copying data by hand before the new node accepts pods. Replicated storage (Longhorn with `replicaCount: 1` is just an expensive local disk; `replicaCount: 3` needs three nodes) does not save you here — plan state as either (a) disposable, (b) backed up off-node on a schedule, or (c) external to the cluster entirely.

**Anti-affinity and HA topology rules simply never match.** PodAntiAffinity with `requiredDuringScheduling`, topology spread constraints requiring three zones, and replica counts of 3 for anything will leave pods perpetually Pending. This is actually useful signal: if your manifests assume three nodes, your manifests are telling you that the workload wants a real cluster.

**Reboots are cold starts.** Everything must come back from zero on one machine: CNI, ingress, DNS, certificates, and every workload's image pulls (all cached locally — a small mercy). Design a boot-order smoke test (`kubectl wait --for=condition=Ready pods --all -A` with a timeout) so you know the box came back correctly without a human watching.

## When to choose K3s/K0s — and when to choose Compose instead

The decision tree that holds up in practice:

**Choose single-node Kubernetes when** you need the Kubernetes API itself: CRDs and operators, Helm-packaged third-party software, Kubernetes-style RBAC for a team, or the same manifests must later scale to a real multi-node cluster. K3s is the usual pick (one binary, SQLite default, runs on arm64 boxes); MicroK8s when you want Canonical's packaging and snap-based channel upgrades; K0s when you want a minimal, dependency-free binary with no bundled extras. kind stays reserved for CI and test — its control plane lives in a container, which is exactly wrong for a durable edge box.

**Choose Podman/systemd or docker compose when** you have a handful of containers, no CRDs, no operators, and no realistic path to more than one node. Compose gives you declared dependencies, health-checked startup order, and `restart: always` — the three things people actually use single-node Kubernetes for — without an API server to upgrade, a datastore to back up, or a PDB that can never be satisfied. If your YAML has no `apiVersion:` anywhere in it and your team will never need three nodes, the honest answer is that you are running a container runtime with extra steps.

**The hybrid that works well:** prototype on single-node K3s with manifests you would be willing to run on three nodes — no hostPath pins, no anti-affinity that Pending-pods itself, backups tested quarterly — so that "this outgrew one box" is a scaling event rather than a rewrite.

## References

- Canonical — Kubernetes distributions comparison: https://ubuntu.com/kubernetes/compare
- K3s documentation (datastore, upgrades, architecture): https://docs.k3s.io/
- MicroK8s documentation: https://microk8s.io/docs
- kind (Kubernetes in Docker): https://kind.sigs.k8s.io/
- Kubernetes documentation — Pod Disruption Budgets: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
