github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/tools/autoscaling/agent/nomad.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: nomad Stanza - Nomad Autoscaler Agent Configuration
     4  description: >-
     5    The "nomad" block configures the Nomad Autoscaler's Nomad client.
     6  ---
     7  
     8  # `nomad` Block
     9  
    10  <Placement groups={['nomad']} />
    11  
    12  The `nomad` block configures the Nomad Autoscaler's Nomad client.
    13  
    14  ```hcl
    15  nomad {
    16    address = "http://my-nomad.systems:4646"
    17    region  = "esp-vlc-1"
    18  }
    19  ```
    20  
    21  ## `nomad` Parameters
    22  
    23  - `address` `(string: "http://127.0.0.1:4646")` - The address of the Nomad server
    24    in the form of `protocol://addr:port`.
    25  
    26  - `region` `(string: "global")` - The region of the Nomad servers to connect with.
    27  
    28  - `namespace` `(string: "")` - The target namespace for queries and actions bound
    29    to a namespace.
    30  
    31  - `token` `(string: "")` - The SecretID of an ACL token to use to authenticate
    32    API requests with.
    33  
    34  - `http_auth` `(string: "")` - The authentication information to use when connecting
    35    to a Nomad API which is using HTTP authentication.
    36  
    37  - `ca_cert` `(string: "")` - Path to a PEM encoded CA cert file to use to verify
    38    the Nomad server SSL certificate.
    39  
    40  - `ca_path` `(string: "")` - Path to a directory of PEM encoded CA cert files to
    41    verify the Nomad server SSL certificate.
    42  
    43  - `client_cert` `(string: "")` - Path to a PEM encoded client certificate for TLS
    44    authentication to the Nomad server.
    45  
    46  - `client_key` `(string: "")` - Path to an unencrypted PEM encoded private key
    47    matching the client certificate.
    48  
    49  - `tls_server_name` `(string: "")` - The server name to use as the SNI host when
    50    connecting via TLS.
    51  
    52  - `skip_verify` `(bool: false)` - Do not verify TLS certificates. This is strongly
    53    discouraged.