rune restart / stop

Bounce a service or stop it without deleting the spec.

rune restart

Scales the service to 0, waits for the drain to complete, then scales back to its previous scale. By default, prints a TTY-aware progress view with two phases (Draining → Starting) and a final cumulative duration. In non-TTY contexts (CI, redirected output), one line is printed per state transition with no duplicates.

rune restart api
rune restart api -d            # detach — exit after the request is sent
rune restart api --timeout=15m
FlagDefaultNotes
-n, --namespacefrom contextService namespace.
-d, --detachfalseDon't wait for the restart to complete (fire-and-forget).
--timeout10mWait timeout per phase (ignored with -d).

Use after rotating a secret, updating a configmap, or anything else that requires a fresh process. Mounted secrets/configs do not hot-reload.

rune stop

Scales to 0 but keeps the spec. Restore later with rune scale <name> N or rune cast.

rune stop api
rune stop api -d   # detach
FlagDefaultNotes
-n, --namespacefrom contextService namespace.
-d, --detachfalseDon't wait for the service to fully stop.
--timeout5mWait timeout (ignored with -d).

To remove the spec entirely, use rune delete.

See also