ray.serve.schema.ScaleDeploymentRequest#

pydantic model ray.serve.schema.ScaleDeploymentRequest[source]#

Request schema for scaling a deployment’s replicas.

PublicAPI (alpha): This API is in alpha and may change before becoming stable.

field target_num_replicas: int [Required]#

The target number of replicas for the deployment.

Constraints:
  • ge = 0