Skip to content

Commit

Permalink
Merge 1ec22b1 into backport/feat/cli-wait-time-with-monitor/promptly-…
Browse files Browse the repository at this point in the history
…super-trout
  • Loading branch information
hc-github-team-nomad-core committed Nov 23, 2022
2 parents 1bf71ba + 1ec22b1 commit d9f4b97
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions website/content/docs/commands/deployment/status.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ nomad deployment status [options] <deployment id>
The `deployment status` command requires a single argument, a deployment ID or
prefix.

A `-monitor` flag can be used to update the current deployment status until completion.
When combined with `-verbose`, it will also display the allocations for the given
A `-monitor` flag can be used to update the current deployment status until completion.
When combined with `-verbose`, it will also display the allocations for the given
deployment. If the deployment fails and [`auto_revert`] is set to `true`, it will monitor
the entire process, showing the failure and then monitoring the deployment of the rollback.

Expand All @@ -38,6 +38,8 @@ capability for the deployment's namespace.
- `-t` : Format and display the deployment using a Go template.
- `-verbose`: Show full information.
- `-monitor`: Enter monitor mode to poll for updates to the deployment status.
- `-wait`: How long to wait before polling an update, used in conjunction with monitor
mode. Defaults to 2s.

## Examples

Expand Down

0 comments on commit d9f4b97

Please sign in to comment.