Skip to main content
Swytch Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Survive Pod Replacement

A Pod rollout replaces the process that holds your local cache. Decide what may disappear before you depend on a rolling update to preserve state.

Pick a recovery path

StateRecovery plan
Rebuildable cache entriesRefill from the application’s source of truth
Keys held by surviving subscribersRetrieve from a surviving holder; verify that one exists
State uploaded to CloudRehydrate from the network tier after upload acknowledgement
Commercial Atmos deploymentFollow its separately supplied storage and recovery guidance

A second Pod may not hold the key you need. The operator’s health probes cannot establish that it does.

Before a rollout

  1. Confirm the application handles missing keys and reconnects to its sidecar.
  2. For durable state, confirm it has reached the configured storage tier. A command reply alone does not prove a Cloud upload completed.
  3. Replace a Pod in a staging workload and verify both known keys and application behavior.
  4. Check cold-read latency and load on the source of truth before replacing more Pods.

Use Kubernetes operations for profile and Secret changes. Read Cloud durability semantics before a full-cluster restart.