Description
Show the deploy status of an environment: the state of its current revision and, in each region, the state of the revision there and its instances by phase. environment show prints the desired revision. The server decides each state: deploying (Reactor still makes changes to reach the plan: a rollout, a scale-up, a scale-down or the replacement of an instance), ready, stopped (the plan needs no instance, and none runs), degraded (an instance has failed, and another serves), failed (instances fail, and none serves or starts) or unknown. A region also lists the older revisions that still run there: they are superseded, and their instances still serve or stop.--wait-for polls until the revision reaches a deploy state: deploying, then
ready (degraded counts as deploying, and stopped counts as ready). It returns
at that state or a later one, so --wait-for ready blocks while the state is
deploying, a scale-down included. --wait-for stopped returns only at stopped.
It prints the progress of each region on stderr: its state, its instances, and
the older revisions that still run there. It exits non-zero when --timeout ends
first, when the revision fails, or when a later write replaces the revision.
A read that fails with a timeout, a connection error or a 5xx does not end the
wait, unless 6 reads in a row fail.
Options
Global options
See also
- reactor - The CLI for the Reactor platform