Class AutoscalingSpec (1.59.0)

AutoscalingSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The min/max number of replicas allowed if enabling autoscaling

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
min_replica_count int
Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count="" or="" will="" throw="" error.="" for="" autoscaling="" enabled="" ray-on-vertex,="" we="" allow="" min_replica_count="" of="" a="" resource_pool="" to="" be="" 0="" to="" match="" the="" oss="" ray="" behavior(https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring-autoscaling.html#cluster-config-parameters).="" as="" for="" persistent="" resource,="" the="" min_replica_count="" must="" be=""> 0, we added a corresponding validation inside CreatePersistentResourceRequestValidator.java. This field is a member of oneof_ _min_replica_count.
max_replica_count int
Optional. max replicas in the node pool, must be ≥ replica_count and > min_replica_count or will throw error This field is a member of oneof_ _max_replica_count.

Methods

AutoscalingSpec

AutoscalingSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The min/max number of replicas allowed if enabling autoscaling

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields