You have an application controlled by a managed instance group.
When you deploy a new version of the application, costs should be minimized and the number of instances should not increase. You want to ensure that, when each new instance is created, the deployment only continues if the new instance is healthy.
What should you do?
- Perform a rolling-action with maxSurge set to 1, maxUnavailable set to 0.
- Perform a rolling-action with maxSurge set to 0, maxUnavailable set to 1
- Perform a rolling-action with maxHealthy set to 1, maxUnhealthy set to 0.
- Perform a rolling-action with maxHealthy set to 0, maxUnhealthy set to 1.
Reveal Solution Next Question