github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/commands/operator/autopilot/get-config.mdx (about)

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