easygcloud
Split Cloud Run traffic between two revisions for a canary rollout
command
gcloud run services update-traffic checkout-api --to-revisions=checkout-api-00003=10,checkout-api-00002=90command
gcloud run services update-traffic checkout-api --to-revisions=checkout-api-00003=10,checkout-api-00002=90Part of the Google Cloud CLI (gcloud) — Cloud Run category.
| Flag | Purpose |
|---|---|
--to-revisions | Set to: checkout-api-00003=10,checkout-api-00002=90 |
Test your recall — not just your reading.
Practice with interactive quiz →