All Products
Search
Document Center

Platform For AI:AutoScalingSpec

Last Updated:Oct 21, 2026

Parameter

Type

Description

Example

object

The replica range, scaling policy, monitoring metrics, and Pod deletion configuration for automatic task scaling.

AutoscalingMetricSpec AutoscalingMetricSpec

The monitoring metrics configuration for autoscaling.

MaxReplicas

integer

The maximum number of replicas.

10

MinReplicas

integer

The minimum number of replicas.

1

PodsToDelete

array

The Pods to delete for scale-in. This can only be modified through UpdateJob, and the number of Pods to delete must match PodCount.

string

The name of a single Pod to be deleted during scale-in.

pod-a

ScalingStrategy

string

The autoscaling policy. Valid values: Default, ScaleByAPI, RayAutoscaler, and CloudMonitorMetric.

Default