mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
docs
This commit is contained in:
@@ -115,7 +115,7 @@ func generalOptionsUsage() string {
|
||||
Default = http://127.0.0.1:4646
|
||||
|
||||
-region=<region>
|
||||
The region of the Nomad servers to forward commands too.
|
||||
The region of the Nomad servers to forward commands to.
|
||||
Overrides the NOMAD_REGION environment variable if set.
|
||||
Defaults to the Agent's local region.
|
||||
`
|
||||
|
||||
@@ -45,7 +45,7 @@ Usage: nomad plan [options] <file>
|
||||
give insight into what the scheduler will attempt to do and why.
|
||||
|
||||
If the job has specified the region, the -region flag and NOMAD_REGION
|
||||
environment variable are overridden to the job's region.
|
||||
environment variable are overridden and the the job's region is used.
|
||||
|
||||
General Options:
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ Usage: nomad run [options] <file>
|
||||
issues or internal errors, are indicated by exit code 1.
|
||||
|
||||
If the job has specified the region, the -region flag and NOMAD_REGION
|
||||
environment variable are overridden to the job's region.
|
||||
environment variable are overridden and the the job's region is used.
|
||||
|
||||
General Options:
|
||||
|
||||
|
||||
@@ -4,6 +4,10 @@ module CommandHelpers
|
||||
<<EOF
|
||||
* `-address=<addr>`: The address of the Nomad server. Overrides the `NOMAD_ADDR`
|
||||
environment variable if set. Defaults to `http://127.0.0.1:4646`.
|
||||
|
||||
* `-region=<region>`: The region of the Nomad server to forward commands to.
|
||||
Overrides the `NOMAD_REGION` environment variable if set. Defaults to the
|
||||
Agent's local region.
|
||||
EOF
|
||||
end
|
||||
end
|
||||
|
||||
@@ -32,6 +32,9 @@ there are job placement issues encountered (unsatisfiable constraints, resource
|
||||
exhaustion, etc), then the exit code will be 2. Any other errors, including
|
||||
client connection issues or internal errors, are indicated by exit code 1.
|
||||
|
||||
If the job has specified the region, the -region flag and NOMAD_REGION
|
||||
environment variable are overridden and the the job's region is used.
|
||||
|
||||
## General Options
|
||||
|
||||
<%= general_options_usage %>
|
||||
|
||||
Reference in New Issue
Block a user