rune scale
rune scale <service-name> <replicas> [flags]Examples
Section titled “Examples”rune scale my-service 3rune scale my-service 5 --namespace=productionrune scale my-service 10 --mode=gradual --step=2 --interval=1mrune scale my-service 0 --no-wait| Flag | Default | Notes |
|---|---|---|
-n, --namespace | from context | Service namespace. |
--mode | immediate | immediate or gradual. |
--step | 1 | Gradual mode — instances per step. |
--interval | 30s | Gradual mode — time between steps. |
--rollback-on-fail | true | Revert to prior scale if health checks fail. |
--wait | true | Block until rollout completes. |
--no-wait | false | Override --wait. CI-friendly. |
--timeout | 5m | Rollout timeout. |
--api-server | from context | One-off API server override. |
Behavior
Section titled “Behavior”- Setting
<replicas>to0stops the service without deleting it. Same asrune stop. - Gradual scale aborts on health failure and rolls back (unless you disabled rollback).
- The scale operation is idempotent — re-running with the same target is a no-op.