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).
More on Reliability & Rollouts
What are the must-have settings for a production Deployment?BeginnerWhy use image digests or immutable tags instead of `latest`?BeginnerWhat does a PodDisruptionBudget protect and how do you size it?BeginnerHow do you set graceful shutdown right?BeginnerWhy do rollouts sometimes cause brief 502/503 errors?BeginnerWhat should a readiness probe check?Beginner