Deployment Delete deprecated, what is the new approach?

According to Ray Serve API β€” Ray 2.0.0 delete on a deployment is deprecated. What is the recommended way to delete deployments in 2.0?

1 Like

When using the Production workflow (serve deploy config.yaml), deployments won’t get redeployed if there are no code changes, so you could remove the deployment from your inference graph and rerun serve deploy, and your other existing deployments would be unaffected.

When using serve run or for the dev workflow, all deployments will be redeployed each time.