k3s: recover an HA cluster with embedded etcd that lost quorum (--cluster-reset)

On the surviving server: systemctl stop k3s; k3s server –cluster-reset; systemctl start k3s. On the others: stop, rm -rf /var/lib/rancher/k3s/server/db, start pointing at the reset node. Never on two nodes.

September 25, 2026 · 4 min

k3s: use images without a registry (docker save → k3s ctr images import) and clean up the leftovers

docker save -o app.tar app:v1; k3s ctr images import app.tar on every node; imagePullPolicy: Never. For several nodes, /var/lib/rancher/k3s/agent/images/ or –embedded-registry. Cleanup: k3s crictl rmi –prune.

September 25, 2026 · 3 min

Move k3s data to another disk

Root disk is full. Stop k3s, move the directories, leave a symlink, start again.

August 20, 2026 · 2 min