RevisionScaling(mapping=None, *, ignore_unknown_fields=False, **kwargs)Settings for revision-level scaling settings.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
min_instance_count |
int
Optional. Minimum number of serving instances that this resource should have. |
max_instance_count |
int
Optional. Maximum number of serving instances that this resource should have. When unspecified, the field is set to the server default value of 100. For more information see https://cloud.google.com/run/docs/configuring/max-instances |
cpu_utilization |
float
Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between 0.1 and
0.90 (inclusive) or 0.0 to disable CPU utilization
as threshold for scaling. CPU and concurrency scaling cannot
both be disabled.
This field is a member of oneof_ _cpu_utilization.
|
concurrency_utilization |
float
Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between 0.1
and 0.95 (inclusive) or 0.0 to disable concurrency
utilization as threshold for scaling. CPU and concurrency
scaling cannot both be disabled.
This field is a member of oneof_ _concurrency_utilization.
|