ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 66 - Professional Cloud Developer discussion

Report
Export

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?

A.
Set the Deployment strategy to RollingUpdate with maxSurge set to 0, maxUnavailable set to 1.
Answers
A.
Set the Deployment strategy to RollingUpdate with maxSurge set to 0, maxUnavailable set to 1.
B.
Set the Deployment strategy to RollingUpdate with maxSurge set to 1, maxUnavailable set to 0.
Answers
B.
Set the Deployment strategy to RollingUpdate with maxSurge set to 1, maxUnavailable set to 0.
C.
Set the Deployment strategy to Recreate with maxSurge set to 0, maxUnavailable set to 1.
Answers
C.
Set the Deployment strategy to Recreate with maxSurge set to 0, maxUnavailable set to 1.
D.
Set the Deployment strategy to Recreate with maxSurge set to 1, maxUnavailable set to 0.
Answers
D.
Set the Deployment strategy to Recreate with maxSurge set to 1, maxUnavailable set to 0.
Suggested answer: D
asked 18/09/2024
Angela Rivalta
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first