Menu

Your Rollback Restores the Pod, Not the Outbox
📰

Your Rollback Restores the Pod, Not the Outbox

DEV Community: kubernetes·Riley Wu·3 days ago
#LJejP18z
#devtokubernetes#devto#dev#rollback#revision
Long article (375 words) — no AI summary yet.
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.