2017-12-18 21:16:33 +00:00
|
|
|
---
|
2020-02-06 23:45:31 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: 'Commands: operator autopilot get-config'
|
|
|
|
sidebar_title: autopilot get-config
|
|
|
|
description: |
|
2017-12-18 21:16:33 +00:00
|
|
|
Display the current Autopilot configuration.
|
|
|
|
---
|
|
|
|
|
2018-03-22 20:39:18 +00:00
|
|
|
# Command: operator autopilot get-config
|
2017-12-18 21:16:33 +00:00
|
|
|
|
2019-10-22 13:44:00 +00:00
|
|
|
The Autopilot operator command is used to view the current Autopilot
|
|
|
|
configuration. See the [Autopilot Guide] for more information about Autopilot.
|
2017-12-18 21:16:33 +00:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2019-10-22 13:44:00 +00:00
|
|
|
```plaintext
|
2017-12-18 21:16:33 +00:00
|
|
|
nomad operator autopilot get-config [options]
|
|
|
|
```
|
|
|
|
|
|
|
|
## General Options
|
|
|
|
|
2020-02-06 23:45:31 +00:00
|
|
|
@include 'general_options.mdx'
|
2017-12-18 21:16:33 +00:00
|
|
|
|
|
|
|
The output looks like this:
|
|
|
|
|
2019-10-22 13:44:00 +00:00
|
|
|
```shell
|
|
|
|
$ nomad operator autopilot get-config
|
2017-12-18 21:16:33 +00:00
|
|
|
CleanupDeadServers = true
|
|
|
|
LastContactThreshold = 200ms
|
|
|
|
MaxTrailingLogs = 250
|
|
|
|
ServerStabilizationTime = 10s
|
|
|
|
RedundancyZoneTag = ""
|
|
|
|
DisableUpgradeMigration = false
|
|
|
|
UpgradeMigrationTag = ""
|
|
|
|
```
|
|
|
|
|
|
|
|
- `CleanupDeadServers` - Specifies automatic removal of dead
|
|
|
|
server nodes periodically and whenever a new server is added to the cluster.
|
|
|
|
|
|
|
|
- `LastContactThreshold` - Specifies the maximum amount of
|
|
|
|
time a server can go without contact from the leader before being considered
|
|
|
|
unhealthy. Must be a duration value such as `10s`.
|
|
|
|
|
|
|
|
- `MaxTrailingLogs` - specifies the maximum number of log entries
|
|
|
|
that a server can trail the leader by before being considered unhealthy.
|
|
|
|
|
|
|
|
- `ServerStabilizationTime` - Specifies the minimum amount of
|
|
|
|
time a server must be stable in the 'healthy' state before being added to the
|
|
|
|
cluster. Only takes effect if all servers are running Raft protocol version 3
|
|
|
|
or higher. Must be a duration value such as `30s`.
|
|
|
|
|
|
|
|
- `RedundancyZoneTag` - Controls the node-meta key to use when
|
|
|
|
Autopilot is separating servers into zones for redundancy. Only one server in
|
|
|
|
each zone can be a voting member at one time. If left blank, this feature will
|
|
|
|
be disabled.
|
|
|
|
|
|
|
|
- `DisableUpgradeMigration` - Disables Autopilot's upgrade
|
|
|
|
migration strategy in Nomad Enterprise of waiting until enough
|
|
|
|
newer-versioned servers have been added to the cluster before promoting any of
|
|
|
|
them to voters.
|
|
|
|
|
|
|
|
- `UpgradeVersionTag` - Controls the node-meta key to use for
|
|
|
|
version info when performing upgrade migrations. If left blank, the Nomad
|
2018-03-22 20:39:18 +00:00
|
|
|
version will be used.
|
2019-10-22 13:44:00 +00:00
|
|
|
|
2020-03-12 22:05:34 +00:00
|
|
|
[autopilot guide]: /guides/operations/autopilot
|