Upgrades, Backups & Retirement#
Canary-First Upgrades#
Always pin exact package versions (==0.5.0a1 for pre-releases) and upgrade one canary node before rolling out to the rest of the fleet:
Upgrade
fleetmesh-node(andfleetmesh-strfryif used) on the canary node and restartmeshnode(for container rollouts, update the image tag in your Podman Quadlet or Kubernetes Deployment).Verify
meshnode health <dir>reportsno trouble reportedwith0handler failures and0tick failures.Verify
meshctl watch --jsonreports"wrong": []and the expected protocoldigest.Roll the same version out to the remaining fleet nodes and re-run
meshctl watchacross the full fleet.
Backups#
Back up the node state directory (/var/lib/fleetmesh):
keys.json— cryptographic node identity (must stay encrypted at rest)config.json— node configuration, relays, visibility, and limitsLocal SQLite store files — peer state, grants, receipts, and coverage
Stop the node briefly (or use SQLite online backup) before copying database files so snapshots are consistent. Never store unencrypted backups of keys.json or operator.key on shared storage.
Graceful Node Retirement#
To remove a node from service cleanly, run meshnode retire:
sudo -u meshnode /opt/fleetmesh/.venv/bin/meshnode retire /var/lib/fleetmesh \
--reason "decommissioning host"
This hands over asserted shards, withdraws coverage claims from the relays, and stops the node. Add --revoke to also publish a kind 11802 revocation event permanently retiring the node’s key so no successor inherits its standing.