Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Exam Professional Cloud Developer Topic 5 Question 88 Discussion

Actual exam question for Google's Professional Cloud Developer exam
Question #: 88
Topic #: 5
[All Professional Cloud Developer Questions]

Your application is deployed in a Google Kubernetes Engine (GKE) cluster. When a new version of your application is released, your CI/CD tool updates the spec.template.spec.containers[0].image value to reference the Docker image of your new application version. When the Deployment object applies the change, you want to deploy at least 1 replica of the new version and maintain the previous replicas until the new replica is healthy.

Which change should you make to the GKE Deployment object shown below?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Katie
1 days ago
But wouldn't setting maxSurge to 0 ensure that we deploy at least 1 replica of the new version before removing the old ones?
upvoted 0 times
...
Catalina
2 days ago
I disagree, I believe setting the Deployment strategy to RollingUpdate with maxSurge set to 1, maxUnavailable set to 0 is the better option.
upvoted 0 times
...
Katie
4 days ago
I think we should set the Deployment strategy to RollingUpdate with maxSurge set to 0, maxUnavailable set to 1.
upvoted 0 times
...

Save Cancel