GCP ACE · Question 36 · Domain 4.3: Managing Cloud Run resources
You have deployed version 1 (v1) of an application to Cloud Run. You just deployed version 2 (v2) and want to perform a canary release. You want 10% of user traffic to go to v2, while 90% remains on v1.
How should you configure this in Cloud Run?
You have deployed version 1 (v1) of an application to Cloud Run. You just deployed version 2 (v2) and want to perform a canary release. You want 10% of user traffic to go to v2, while 90% remains on v1.
How should you configure this in Cloud Run?
Answer options:
Deploy v2 to a separate Cloud Run service and configure a Global HTTP(S) Load Balancer to split traffic 90/10 between the two services.
Use the Cloud Run traffic splitting feature to route 90% of traffic to the v1 revision and 10% to the v2 revision.
Update the application code in v1 to randomly forward 10% of requests to the v2 endpoint.
Cloud Run does not support traffic splitting; you must use GKE with Istio for this capability.
How to approach this question
Full Answer
Common mistakes
Practice the full GCP Associate Cloud Engineer Practice Exam 6
50 questions · hints · full answers · grading
Expert