scale_to_zero
Scale a deployment to zero replicas to stop costs, with optional dry run for preview.
Instructions
[WRITE][risk=high] Park a deployment at 0 replicas (reversible → prior count).
Stops the cost bleed but adds cold-start latency and can strand the ingress — pass dry_run=True to preview.
Args: application: Serve application name. deployment: Deployment name. dry_run: If True, preview without scaling to zero. target: Inference target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| deployment | Yes | ||
| application | Yes |