mirror of https://github.com/status-im/consul.git
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:
parent
c77a87e84c
commit
25e7652449
|
@ -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-
|
||||
|
|
Loading…
Reference in New Issue