
Ultimate access to all questions.
You have an application running on a managed instance group. When deploying a new version, you need to minimize costs and avoid increasing the total number of instances. Additionally, the deployment should only proceed if each newly created instance passes health checks.
What is the recommended approach to achieve this?
A
Perform a rolling-action with maxSurge set to 1, maxUnavailable set to 0.
B
Perform a rolling-action with maxSurge set to 0, maxUnavailable set to 1
C
Perform a rolling-action with maxHealthy set to 1, maxUnhealthy set to 0.
D
Perform a rolling-action with maxHealthy set to 0, maxUnhealthy set to 1.