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?
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 serve.run()
for the dev workflow, all deployments will be redeployed each time.