github.com/smintz/nomad@v0.8.3/website/source/docs/commands/node/config.html.md.erb (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: node config"
     4  sidebar_current: "docs-commands-node-config"
     5  description: >
     6    The node config command is used to view or modify client configuration.
     7  ---
     8  
     9  # Command: node config
    10  
    11  The `node config` command is used to view or modify client configuration
    12  details. This command only works on client nodes, and can be used to update
    13  the running client configurations it supports.
    14  
    15  ## Usage
    16  
    17  ```
    18  nomad node config [options]
    19  ```
    20  
    21  The arguments behave differently depending on the flags given. See each flag's
    22  description below for specific usage information and requirements.
    23  
    24  ## General Options
    25  
    26  <%= partial "docs/commands/_general_options" %>
    27  
    28  ## Node Config Options
    29  
    30  * `-servers`: List the client's known servers. Client nodes do not participate
    31    in the gossip pool, and instead register with these servers periodically over
    32    the network. The initial value of this list may come from configuration files
    33    using the [`servers`](/docs/agent/configuration/client.html#servers)
    34    configuration option in the client block.
    35  
    36  * `-update-servers`: Updates the client's server list using the provided
    37    arguments. Multiple server addresses may be passed using multiple arguments.
    38    When updating the servers list, you must specify ALL of the server nodes you
    39    wish to configure. The set is updated atomically. It is an error to specify
    40    this flag without any server addresses. If you do _not_ specify a port for each
    41    server address, the default port `4647` will be used.
    42  
    43  ## Examples
    44  
    45  Query the currently known servers:
    46  
    47  ```
    48  $ nomad node config -servers
    49  server1:4647
    50  server2:4647
    51  ```
    52  
    53  Update the list of servers:
    54  
    55  ```
    56  $ nomad node config -update-servers server1:4647 server2:4647 server3:4647 server4
    57  ```