github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/website/pages/docs/commands/operator/autopilot-get-config.mdx (about) 1 --- 2 layout: docs 3 page_title: 'Commands: operator autopilot get-config' 4 sidebar_title: autopilot get-config 5 description: | 6 Display the current Autopilot configuration. 7 --- 8 9 # Command: operator autopilot get-config 10 11 The Autopilot operator command is used to view the current Autopilot 12 configuration. See the [Autopilot Guide] for more information about Autopilot. 13 14 ## Usage 15 16 ```plaintext 17 nomad operator autopilot get-config [options] 18 ``` 19 20 ## General Options 21 22 @include 'general_options.mdx' 23 24 The output looks like this: 25 26 ```shell-sessionnomad operator autopilot get-config 27 CleanupDeadServers = true 28 LastContactThreshold = 200ms 29 MaxTrailingLogs = 250 30 ServerStabilizationTime = 10s 31 RedundancyZoneTag = "" 32 DisableUpgradeMigration = false 33 UpgradeMigrationTag = "" 34 ``` 35 36 - `CleanupDeadServers` - Specifies automatic removal of dead 37 server nodes periodically and whenever a new server is added to the cluster. 38 39 - `LastContactThreshold` - Specifies the maximum amount of 40 time a server can go without contact from the leader before being considered 41 unhealthy. Must be a duration value such as `10s`. 42 43 - `MaxTrailingLogs` - specifies the maximum number of log entries 44 that a server can trail the leader by before being considered unhealthy. 45 46 - `ServerStabilizationTime` - Specifies the minimum amount of 47 time a server must be stable in the 'healthy' state before being added to the 48 cluster. Only takes effect if all servers are running Raft protocol version 3 49 or higher. Must be a duration value such as `30s`. 50 51 - `RedundancyZoneTag` - Controls the node-meta key to use when 52 Autopilot is separating servers into zones for redundancy. Only one server in 53 each zone can be a voting member at one time. If left blank, this feature will 54 be disabled. 55 56 - `DisableUpgradeMigration` - Disables Autopilot's upgrade 57 migration strategy in Nomad Enterprise of waiting until enough 58 newer-versioned servers have been added to the cluster before promoting any of 59 them to voters. 60 61 - `UpgradeVersionTag` - Controls the node-meta key to use for 62 version info when performing upgrade migrations. If left blank, the Nomad 63 version will be used. 64 65 [autopilot guide]: https://learn.hashicorp.com/nomad/operating-nomad/autopilot