@@ -123,16 +123,22 @@ inputs:
123123
124124 revision_traffic :
125125 description : |-
126- Comma separated list of traffic assignments in the form REVISION-NAME=PERCENTAGE.
127- REVISION-NAME must be the name for a revision for the service as returned
128- by 'gcloud beta run list revisions'. PERCENTAGE must be an integer
129- percentage between 0 and 100 inclusive.
130- Ex service-nw9hs=10,service-nw9hs=20 Up to 100 percent of traffic may be
126+ Comma separated list of traffic assignments in the form
127+ REVISION-NAME=PERCENTAGE. REVISION-NAME must be the name for a revision
128+ for the service as returned by 'gcloud beta run list revisions'.
129+ PERCENTAGE must be an integer percentage between 0 and 100 inclusive. Ex
130+ service-nw9hs=10,service-nw9hs=20 Up to 100 percent of traffic may be
131131 assigned. If 100 percent of traffic is assigned, the Service traffic is
132132 updated as specified. If under 100 percent of traffic is assigned, the
133133 Service traffic is updated as specified for revisions with assignments and
134134 traffic is scaled up or down down proportionally as needed for revision
135135 that are currently serving traffic but that do not have new assignments.
136+ For example assume revision-1 is serving 40 percent of traffic and
137+ revision-2 is serving 60 percent. If revision-1 is assigned 45 percent of
138+ traffic and no assignment is made for revision-2, the service is updated
139+ with revsion-1 assigned 45 percent of traffic and revision-2 scaled down
140+ to 55 percent. You can use "LATEST" as a special revision name to always
141+ put the given percentage of traffic on the latest ready revision
136142 required : false
137143
138144 tag_traffic :
0 commit comments