mirror of
https://github.com/status-im/consul.git
synced 2025-02-23 02:48:19 +00:00
Update operator.html.markdown
This commit is contained in:
parent
3193507d9a
commit
1e318db830
@ -52,7 +52,7 @@ Two actions are available, as detailed in this section.
|
|||||||
#### Display Peer Configuration
|
#### Display Peer Configuration
|
||||||
This action displays the current Raft peer configuration.
|
This action displays the current Raft peer configuration.
|
||||||
|
|
||||||
Usage: `raft -list-peers -stale=[true|false]`
|
Usage: `consul operator raft -list-peers -stale=[true|false]`
|
||||||
|
|
||||||
* `-stale` - Optional and defaults to "false" which means the leader provides
|
* `-stale` - Optional and defaults to "false" which means the leader provides
|
||||||
the result. If the cluster is in an outage state without a leader, you may need
|
the result. If the cluster is in an outage state without a leader, you may need
|
||||||
@ -94,7 +94,7 @@ clean up by simply running
|
|||||||
[`consul force-leave`](/docs/commands/force-leave.html)
|
[`consul force-leave`](/docs/commands/force-leave.html)
|
||||||
instead of this command.
|
instead of this command.
|
||||||
|
|
||||||
Usage: `raft -remove-peer -address="IP:port"`
|
Usage: `consul operator raft -remove-peer -address="IP:port"`
|
||||||
|
|
||||||
* `-address` - "IP:port" for the server to remove. The port number is usually
|
* `-address` - "IP:port" for the server to remove. The port number is usually
|
||||||
8300, unless configured otherwise.
|
8300, unless configured otherwise.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user