Theory
Theory: Blue-Green is Two Stacks and One Cutover
Active and preview Services point at old vs new ReplicaSets. Promotion swaps who is active. Analysis can run on preview before the swap.
Invariants
- Capacity is ~2× during the preview window.
- Rollback is swapping Services back, not a Git revert alone (Git should still record the desired Rollout spec).
- StatefulSets are a later limitation chapter.
Service active → RS blue
Service preview → RS green promote: swap active
What can break
- Preview service accidentally public without auth.
How to read this chapter
Services, analysis, promote/rollback.