Question
Cloud Run Traffic Splitting: Need for Fractional Percentages in Version 1.x
Tasadduq BurneyownerOwner · Founder
24.5K reputation · 03 Feb 2023, 21:24 UTC
57.5K views0
Goal
Enable precise, non‑integer traffic allocation to revisions for canary and blue‑green deployments, such as 33.3%/33.3%/33.4% splits.
Constraints
- The current Cloud Run Traffic Splitting API accepts only whole‑percentage values (e.g., 25%, 75%).
- Both the gcloud CLI and Cloud Console reject decimal inputs with validation errors.
- No public roadmap or release notes indicate that fractional support will be added.
Open Questions
- Will Google release a feature to allow fractional traffic weights in Cloud Run, and if so, on which release channel?
- Is there an officially supported workaround (e.g., weighted load balancer or multiple revisions) that approximates fractional splits without manual rounding?
- What are the documented limits or side effects when approximating a desired split with integer percentages?