- Created docs/ctl/*.md runbooks for all 16 miroir-ctl subcommands - Each runbook includes: purpose, preconditions, examples, gotchas, see also - Added runbook location to --help output - All runbooks under 50 lines for easy reading Closes: miroir-uyx.4
891 B
891 B
miroir-ctl status
Purpose
Show cluster health, node status, and ongoing rebalancing operations.
Preconditions
- Admin API key configured (
MIROIR_ADMIN_API_KEYenv var,~/.config/miroir/credentials, or--admin-keyflag) - Miroir orchestrator reachable at
--api-url(default:http://localhost:8080)
Examples
# One-time status snapshot
miroir-ctl status
# Continuously refresh every 2 seconds (use during operations)
miroir-ctl status --watch
Gotchas
--watchmode clears the terminal each refresh — useCtrl+Cto exit- Degraded nodes show
⚠but don't necessarily mean downtime — check individual node errors fully_covered: falsemeans some shards have fewer than RF replicas — checkdegraded_node_count
See also
- Plan §10 — health metrics and degraded node detection
miroir-ctl node list— detailed node topology