Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Reproduction steps:
1.- Clone the example (this service returns the version ID to GET requests):
$ git clone
$ cd 5db688a3065ad3afc6687872c08a4282
2.- Deploy 2 versions of the service:
$ gcloud app deploy -v v1 -q
$ gcloud app deploy -v v2 --no-promote -q
3.- Deploy the dispatch rules:
$ gcloud app deploy dispatch.yaml -q
4.- Set the traffic splitting:
$ gcloud app services set-traffic dispatch --splits v1=.5,v2=.5 --split-by random -q
5.- Verify that the traffic splitting works when using only a dispatch rule OR the service on the host:
$ for i in {1..100}; do curl
$ for i in {1..100}; do curl http://$(gcloud config get-value project).
6.- Verify that the traffic splitting is not applied when using both a dispatch rule AND the service on the host:
$ for i in {1..100}; do curl