ray.serve.schema.DeploymentDetails#

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

Detailed info about a deployment within a Serve application.

field autoscaling_detail: DeploymentAutoscalingDetail | None = None#

[EXPERIMENTAL] Deployment-level autoscaler observability for this deployment.

field deployment_config: DeploymentSchema [Required]#

The set of deployment config options that are currently applied to this deployment. These options may come from the user’s code, config file options, or Serve default values.

field message: str [Required]#

If there are issues with the deployment, this will describe the issue in more detail.

field name: str [Required]#

Deployment name.

field replicas: List[ReplicaDetails] [Required]#

Details about the live replicas of this deployment.

field required_resources: Dict [Required]#

The resources required per replica of this deployment.

field status: DeploymentStatus [Required]#

The current status of the deployment.

field status_trigger: DeploymentStatusTrigger [Required]#

[EXPERIMENTAL] The trigger for the current status.

field target_num_replicas: int [Required]#

The current target number of replicas for this deployment. This can change over time for autoscaling deployments, but will remain a constant number for other deployments.

Constraints:
  • ge = 0