Interview Prep/Kubernetes/Reliability & Rollouts

How many replicas should you run and how do you spread them?

BeginnerProductionReliability & Rollouts
Answer

Minimum 2, usually 3 for critical services, spread across zones and nodes using topology spread constraints (maxSkew: 1 on zone and hostname). Replica count depends on capacity needed to survive losing one zone: with 3 zones, size so two zones can carry the load (N+1 or N+zone).

All Kubernetes questions

More on Reliability & Rollouts