$ ./guess_the_languageDevOps
DevOps · hard · #256

During a rollout, what is the most pods this Deployment can have at once?

replicas: 4
strategy:
  type: RollingUpdate
  rollingUpdate:
    maxSurge: 1
    maxUnavailable: 0
  1. 3
  2. 4
  3. 5
  4. 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 ▸