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