github.com/smintz/nomad@v0.8.3/website/source/docs/commands/operator.html.md.erb (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: operator"
     4  sidebar_current: "docs-commands-operator"
     5  description: >
     6    The operator command provides cluster-level tools for Nomad operators.
     7  ---
     8  
     9  # Command: operator
    10  
    11  The `operator` command provides cluster-level tools for Nomad operators, such
    12  as interacting with the Raft subsystem. This was added in Nomad 0.5.5.
    13  
    14  ~> Use this command with extreme caution, as improper use could lead to a Nomad
    15  outage and even loss of data.
    16  
    17  See the [Outage Recovery](/guides/outage.html) guide for some examples of how
    18  this command is used. For an API to perform these operations programmatically,
    19  please see the documentation for the [Operator](/guides/outage.html)
    20  endpoint.
    21  
    22  ## Usage
    23  
    24  Usage: `nomad operator <subcommand> <subcommand> [options]`
    25  
    26  Run `nomad operator <subcommand>` with no arguments for help on that subcommand.
    27  The following subcommands are available:
    28  
    29  * [`operator autopilot get-config`][get-config] - Display the current Autopilot configuration
    30  * [`operator autopilot set-config`][set-config] - Modify the current Autopilot configuration
    31  * [`operator keygen`][keygen] - Generates a new encryption key
    32  * [`operator keyring`][keyring] - Manages gossip layer encryption keys
    33  * [`operator raft list-peers`][list] - Display the current Raft peer configuration
    34  * [`operator raft remove-peer`][remove] - Remove a Nomad server from the Raft configuration
    35  
    36  [get-config]: /docs/commands/operator/autopilot-get-config.html "Autopilot Get Config command"
    37  [set-config]: /docs/commands/operator/autopilot-set-config.html "Autopilot Set Config command"
    38  [keygen]: /docs/commands/operator/keygen.html "Generates a new encryption key"
    39  [keyring]: /docs/commands/operator/keyring.html "Manages gossip layer encryption keys"
    40  [list]: /docs/commands/operator/raft-list-peers.html "Raft List Peers command"
    41  [remove]: /docs/commands/operator/raft-remove-peer.html "Raft Remove Peer command"