Topic 1 Question 106
You are managing an application deployed on Cloud Run for Anthos, and you need to define a strategy for deploying new versions of the application. You want to evaluate the new code with a subset of production traffic to decide whether to proceed with the rollout. What should you do?
Deploy a new revision to Cloud Run with the new version. Configure traffic percentage between revisions.
Deploy a new service to Cloud Run with the new version. Add a Cloud Load Balancing instance in front of both services.
In the Google Cloud Console page for Cloud Run, set up continuous deployment using Cloud Build for the development branch. As part of the Cloud Build trigger, configure the substitution variable TRAFFIC_PERCENTAGE with the percentage of traffic you want directed to a new version.
In the Google Cloud Console, configure Traffic Director with a new Service that points to the new version of the application on Cloud Run. Configure Traffic Director to send a small percentage of traffic to the new version of the application.
ユーザの投票
コメント(17)
Correct Answer: A o Each deployment to a service creates a revision. A revision consists of a specific container image, along with environment settings such as environment variables, memory limits, or concurrency value. o Once the new revision is deployed to a Service you can manage the traffic using MANAGE TRAFFIC option inside the revision tab https://cloud.google.com/run/docs/resource-model
👍 47VishalB2021/07/07The correct answer is A. Deploy a new revision to Cloud Run with the new version. Configure traffic percentage between revisions.
Cloud Run for Anthos allows you to deploy new revisions of your application with a specific percentage of traffic, which allows you to perform a gradual rollout of the new version. To do this, you can follow these steps:
Deploy a new revision of your application to Cloud Run with the new version.
In the Cloud Run for Anthos console, navigate to the service that you want to roll out the new version for.
In the "Revisions" tab, you should see the new revision listed alongside the current revision.
Use the traffic percentage slider to specify the percentage of traffic that you want to send to the new revision. You can set the percentage to a small value initially, such as 5%, and gradually increase it over time as you evaluate the new version.
Once you have set the traffic percentage, Cloud Run for Anthos will start directing a portion of the traffic to the new revision, allowing you to evaluate the new version with a subset of production traffic.
👍 13omermahgoub2022/12/22- 正解だと思う選択肢: A👍 4zerg02023/02/12
シャッフルモード