Your Rollback Restores the Pod, Not the Outbox
A Kubernetes Deployment rollback is narrower than its name suggests. The official documentation says a Deployment creates a revision on a Pod template change, scaling alone creates no revision, and rollback to an earlier revision restores the Pod template; it does not reverse unrelated database changes ( Deployment docs ). Queued work and migrated rows lie outside it. A model route or allowlist may ride in the template. Rollback restores configuration, not work already produced under it.
Steps
Define the effect boundary: what could the service write during the rollout window?
Record the current revision from rollout history.
For each effect, define one compensating action: drain a queue, tombstone a row, or re-run pinned configuration.…