A Deployment desires 3 replicas and allows maxSurge: 2. Ignoring terminating Pods, what is the maximum number of Pods allowed during the rollout?
Answer & explanation
Answer: 5
An integer maxSurge adds that many Pods above the desired replica count. Terminating Pods may complicate observed totals, which is excluded here.