Skip to content

mooncake fleet status

Show one-line-per-peer health for the configured fleet

Description

Probes each peer's /v1/version, /v1/runs, and /v1/facts in parallel and renders a STATE column (ok / running / failed / unreachable) alongside OS, mooncake version, queue depth, and the last run's outcome. --json switches to JSONL for scripts.

Flags

Flag Type Default Description
--peer []string - Select peers: repeat to UNION. Each value is a name, key=value filter, or @k=v,k2=v2 AND-group. Default: every peer in peers.toml.
--peers-file string - Override the peers.toml path
--parallel int 0 Maximum peers in flight at once (0 = unbounded, default)
--timeout duration 3s Per-peer probe timeout (covers the three GETs)
--json bool false Emit one JSON record per peer (JSONL), skip the table renderer
--no-color bool false Disable ANSI colors on the STATE column (also honors NO_COLOR env)