Skip to content

Commit c6eb517

Browse files
Google APIscopybara-github
authored andcommitted
feat:support manual instance count in Cloud Run for manual scaling feature
PiperOrigin-RevId: 697723876
1 parent 4ab02f3 commit c6eb517

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

google/cloud/run/v2/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,6 @@ load(
379379

380380
csharp_proto_library(
381381
name = "run_csharp_proto",
382-
extra_opts = [],
383382
deps = [":run_proto"],
384383
)
385384

google/cloud/run/v2/vendor_settings.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,12 @@ message ServiceScaling {
158158

159159
// Optional. The scaling mode for the service.
160160
ScalingMode scaling_mode = 3 [(google.api.field_behavior) = OPTIONAL];
161+
162+
// Optional. total instance count for the service in manual scaling mode. This
163+
// number of instances is divided among all revisions with specified traffic
164+
// based on the percent of traffic they are receiving.
165+
optional int32 manual_instance_count = 6
166+
[(google.api.field_behavior) = OPTIONAL];
161167
}
162168

163169
// Hardware constraints configuration.

0 commit comments

Comments
 (0)