Command: operator
The operator
command provides cluster-level tools for Nomad operators, such
as interacting with the Raft subsystem.
Use this command with extreme caution, as improper use could lead to a Nomad outage and even loss of data.
See the Outage Recovery guide guide for some examples of how this command is used. For an API to perform these operations programmatically, please see the documentation for the Operator endpoint.
Usage
Usage: nomad operator <subcommand> <subcommand> [options]
Run nomad operator <subcommand>
with no arguments for help on that subcommand.
The following subcommands are available:
operator autopilot get-config
- Display the current Autopilot configurationoperator autopilot set-config
- Modify the current Autopilot configurationoperator debug
- Build an archive of debug dataoperator gossip keyring generate
- Generates a gossip encryption keyoperator gossip keyring install
- Install a gossip encryption keyoperator gossip keyring list
- List available gossip encryption keysoperator gossip keyring remove
- Deletes a gossip encryption keyoperator gossip keyring use
- Sets a gossip encryption key as the active keyoperator raft list-peers
- Display the current Raft peer configurationoperator raft remove-peer
- Remove a Nomad server from the Raft configurationoperator root keyring list
- List available root encryption keysoperator root keyring remove
- Deletes a root encryption keyoperator root keyring rotate
- Rotates the root encryption keyoperator scheduler get-config
- Display the current scheduler configurationoperator scheduler set-config
- Modify the scheduler configurationoperator snapshot agent
Enterprise - Inspects a snapshot of the Nomad server stateoperator snapshot save
- Saves a snapshot of the Nomad server stateoperator snapshot restore
- Restores a snapshot of the Nomad server stateoperator snapshot inspect
- Inspects a snapshot of the Nomad server state