You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/content/partials/envvars.mdx
+2
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@
22
22
|`NOMAD_PARENT_CGROUP`| The parent cgroup used to contain task cgroups (Linux only) |
23
23
|`NOMAD_NAMESPACE`| Namespace in which the allocation is running |
24
24
|`NOMAD_REGION`| Region in which the allocation is running |
25
+
| `NOMAD_UNIX_ADDR` | Use this value as your `NOMAD_ADDR` to use `nomad` CLI with the [task API][]'s unix socket. The value is equivalent to `"unix:${NOMAD_SECRETS_DIR}/api.sock"`
25
26
|`NOMAD_META_<key>`| The metadata value given by `key` on the task's metadata. Any character in a key other than `[A-Za-z0-9_.]` will be converted to `_`. <br/> **Note:** this is different from [`${meta.<key>}`](/nomad/docs/runtime/interpolation#node-variables-) which are keys in the node's metadata. |
26
27
|`CONSUL_HTTP_TOKEN`| The tasks' Consul token. See [Consul Integration][consul] documentation for more details. |
27
28
|`CONSUL_TOKEN`| The tasks' Consul token. See [Consul Integration][consul] documentation for more details. This variable is deprecated and exists only for backwards compatibility. |
@@ -68,6 +69,7 @@ names such as `NOMAD_ADDR_<task>_<label>`
68
69
|`CONSUL_CLIENT_KEY`| Specifies the path to the Client Key certificate used for Consul communication. Will be automatically set if Nomad is configured with the `consul.share_ssl` option. |
69
70
|`CONSUL_TLS_SERVER_NAME`| Specifies the server name to use as the SNI host for Consul communication. Will be automatically set if Consul is configured to use TLS and the task is in a group using bridge networking mode. |
0 commit comments