You have a Deployment 'web' with 'maxSurge: 25%' and 'maxUnavailable: 25%'. Current replicas is 4. You update the image. How many pods will be created at most during the rollout?
4 + 1 surge = 5.
Why this answer
maxSurge: 25% means at most 1 extra pod (25% of 4 = 1). So total pods during rollout can be up to 5 (4 desired + 1 surge).