Upgrade, Rollback & DR
Upgrade cautiously, validate readiness after every step, and treat disaster recovery as a state-restoration exercise.
Neuwerk does not currently provide a one-command upgrade, rollback, or disaster-recovery workflow. The safe operational model is to control change at the deployment layer and validate the Neuwerk’s state after every step.
Upgrade Principles
- back up state before changing binaries or runtime images
- make one meaningful change at a time
- validate readiness and stats after every restart
- in cluster mode, avoid changing every node at once
Single-Node Upgrade Flow
For a single node:
- back up the local data root
- stage the new binary or image
- restart the node
- verify
GET /health,GET /ready, andGET /api/v1/stats - confirm critical policy behavior
Cluster Upgrade Flow
For a clustered deployment:
- back up state first
- upgrade one node at a time
- wait for the upgraded node to become ready
- confirm
clusterandpolicy_replicationare healthy - continue to the next node only after the cluster stabilizes
This minimizes the chance of turning an upgrade into a cluster-wide control-plane outage.
Rollback Guidance
If the new version fails:
- stop the rollout
- restore the previous binary or image
- keep the node’s matching state files in place
- verify readiness and policy behavior again
If state migrations or secret-material changes are involved, pair rollback decisions with the backup point you took before the upgrade.
Disaster Recovery
Disaster recovery is primarily a restore problem:
- restore the authoritative state
- restore matching node identity and secret material
- restart the node or cluster
- verify health, readiness, and policy replay
See Backup & Restore for the state boundaries that matter most.
Current Documentation Gap
This page describes the safe operating posture, not a turnkey runbook. A future production doc set should add version-specific upgrade ordering, migration notes, and explicit rollback triggers.
For a conservative rolling procedure you can apply today, see Upgrade A Cluster.