Skip to content

rune scale

Terminal window
rune scale <service-name> <replicas> [flags]
Terminal window
rune scale my-service 3
rune scale my-service 5 --namespace=production
rune scale my-service 10 --mode=gradual --step=2 --interval=1m
rune scale my-service 0 --no-wait
FlagDefaultNotes
-n, --namespacefrom contextService namespace.
--modeimmediateimmediate or gradual.
--step1Gradual mode — instances per step.
--interval30sGradual mode — time between steps.
--rollback-on-failtrueRevert to prior scale if health checks fail.
--waittrueBlock until rollout completes.
--no-waitfalseOverride --wait. CI-friendly.
--timeout5mRollout timeout.
--api-serverfrom contextOne-off API server override.
  • Setting <replicas> to 0 stops the service without deleting it. Same as rune 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.