mirror of https://github.com/hashicorp/consul
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.pull/8719/head
parent
68dae68612
commit
3142f05770
|
@ -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