Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::ResourcePool::AutoscalingSpec (v0.54.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::ResourcePool::AutoscalingSpec.

The min/max number of replicas allowed if enabling autoscaling

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#max_replica_count

def max_replica_count() -> ::Integer
Returns
  • (::Integer) — Optional. max replicas in the node pool, must be ≥ replica_count and > min_replica_count or will throw error

#max_replica_count=

def max_replica_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. max replicas in the node pool, must be ≥ replica_count and > min_replica_count or will throw error
Returns
  • (::Integer) — Optional. max replicas in the node pool, must be ≥ replica_count and > min_replica_count or will throw error

#min_replica_count

def min_replica_count() -> ::Integer
Returns
  • (::Integer) — 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.

#min_replica_count=

def min_replica_count=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.
Returns
  • (::Integer) — 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.