What should you do?

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?
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.

Answer: A

Explanation:

Reference: https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments