Clarify consul maint enable/disable scope (#8615)

Try to make it more clear to an operator that toggling off a node-level
maintenance is independent of toggling service level maintenance.
This commit is contained in:
Daniel Kimsey 2020-09-21 11:32:10 -05:00 committed by GitHub
parent c4c85ee106
commit fbf01fca67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -30,11 +30,13 @@ Usage: `consul maint [options]`
#### Command Options
- `-enable` - Enable maintenance mode on all services on a node. If
combined with the `-service` flag, we operate on a specific service ID.
- `-enable` - Enable node-wide maintenance mode flag. If combined with the
`-service` flag, we operate on a specific service ID instead. Node and
service maintenance flags are independent.
- `-disable` - Disable maintenance mode on all services on a node. If
combined with the `-service` flag, we operate on a specific service ID.
- `-disable` - Disable the node-wide maintenance flag. If combined with the
`-service` flag, we operate on a specific service ID instead. Node and
service maintenance flags are independent.
- `-reason` - An optional reason for placing the service into
maintenance mode. If provided, this reason will be visible in the newly-