During a rollout, what is the most pods this Deployment can have at once?
replicas: 4
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
- 3
- 4
- 5
- 8
maxSurge: 1 allows one pod above the desired 4, and maxUnavailable: 0 means an old pod is removed only after a new one is ready, so the count peaks at 5.
Play DevOps ▸