github.com/adityamillind98/nomad@v0.11.8/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-session 27 $ nomad operator autopilot get-config 28 CleanupDeadServers = true 29 LastContactThreshold = 200ms 30 MaxTrailingLogs = 250 31 ServerStabilizationTime = 10s 32 RedundancyZoneTag = "" 33 DisableUpgradeMigration = false 34 UpgradeMigrationTag = "" 35 ``` 36 37 - `CleanupDeadServers` - Specifies automatic removal of dead 38 server nodes periodically and whenever a new server is added to the cluster. 39 40 - `LastContactThreshold` - Specifies the maximum amount of 41 time a server can go without contact from the leader before being considered 42 unhealthy. Must be a duration value such as `10s`. 43 44 - `MaxTrailingLogs` - specifies the maximum number of log entries 45 that a server can trail the leader by before being considered unhealthy. 46 47 - `ServerStabilizationTime` - Specifies the minimum amount of 48 time a server must be stable in the 'healthy' state before being added to the 49 cluster. Only takes effect if all servers are running Raft protocol version 3 50 or higher. Must be a duration value such as `30s`. 51 52 - `RedundancyZoneTag` - Controls the node-meta key to use when 53 Autopilot is separating servers into zones for redundancy. Only one server in 54 each zone can be a voting member at one time. If left blank, this feature will 55 be disabled. 56 57 - `DisableUpgradeMigration` - Disables Autopilot's upgrade 58 migration strategy in Nomad Enterprise of waiting until enough 59 newer-versioned servers have been added to the cluster before promoting any of 60 them to voters. 61 62 - `UpgradeVersionTag` - Controls the node-meta key to use for 63 version info when performing upgrade migrations. If left blank, the Nomad 64 version will be used. 65 66 [autopilot guide]: https://learn.hashicorp.com/nomad/operating-nomad/autopilot