Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
7def7eb8
Unverified
Commit
7def7eb8
authored
7 years ago
by
Seth Vargo
Browse files
Options
Download
Email Patches
Plain Diff
Cleanup links to limit redirects
parent
c5fa9768
Branches unavailable
No related merge requests found
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
website/redirects.txt
+1
-1
website/redirects.txt
website/source/api/index.html.md
+0
-10
website/source/api/index.html.md
website/source/docs/commands/inspect.html.md.erb
+1
-1
website/source/docs/commands/inspect.html.md.erb
website/source/docs/commands/operator-raft-list-peers.html.md.erb
+3
-4
...source/docs/commands/operator-raft-list-peers.html.md.erb
website/source/docs/commands/operator-raft-remove-peer.html.md.erb
+1
-2
...ource/docs/commands/operator-raft-remove-peer.html.md.erb
website/source/docs/job-specification/template.html.md
+1
-1
website/source/docs/job-specification/template.html.md
website/source/docs/operating-a-job/accessing-logs.html.md
+1
-1
website/source/docs/operating-a-job/accessing-logs.html.md
website/source/docs/operating-a-job/resource-utilization.html.md
+1
-1
.../source/docs/operating-a-job/resource-utilization.html.md
with
9 additions
and
21 deletions
+9
-21
website/redirects.txt
+
1
-
1
View file @
7def7eb8
...
...
@@ -51,7 +51,7 @@
/docs/jobspec/ /docs/job-specification/index.html
/docs/jobspec/index.html /docs/job-specification/index.html
/docs/jobspec/interpreted.html /docs/runtime/interpolation.html
/docs/jobspec/json.html /
docs/http
/json-jobs.html
/docs/jobspec/json.html /
api
/json-jobs.html
/docs/jobspec/environment.html /docs/runtime/environment.html
/docs/jobspec/schedulers.html /docs/runtime/schedulers.html
/docs/jobspec/servicediscovery.html /docs/job-specification/service.html
...
...
This diff is collapsed.
Click to expand it.
website/source/api/index.html.md
+
0
-
10
View file @
7def7eb8
...
...
@@ -184,13 +184,3 @@ GET /v1/jobs
Even though these share a path, the
`PUT`
operation creates a new job whereas
the
`GET`
operation reads all jobs.
## Translated Addresses
Nomad 0.7 added the ability to translate addresses in HTTP response based on
the configuration setting for
[
`translate_wan_addrs`
](
/docs/agent/options.html#translate_wan_addrs
)
. In order
to allow clients to know if address translation is in effect, the
`X-Nomad-Translate-Addresses`
header will be added if translation is enabled,
and will have a value of
`true`
. If translation is not enabled then this header
will not be present.
This diff is collapsed.
Click to expand it.
website/source/docs/commands/inspect.html.md.erb
+
1
-
1
View file @
7def7eb8
...
...
@@ -18,7 +18,7 @@ nomad inspect [options] <job>
The `inspect` command requires a single argument, a submitted job's name, and
will retrieve the JSON version of the job. This JSON is valid to be submitted to
the [Job HTTP API](/
docs/http
/job.html). This command is useful to inspect what
the [Job HTTP API](/
api
/job
s
.html). This command is useful to inspect what
version of a job Nomad is running.
## General Options
...
...
This diff is collapsed.
Click to expand it.
website/source/docs/commands/operator-raft-list-peers.html.md.erb
+
3
-
4
View file @
7def7eb8
...
...
@@ -9,11 +9,11 @@ description: >
# Command: `operator raft list-peers`
The Raft list-peers command is used to display the current Raft peer
configuration.
configuration.
See the [Outage Recovery](/guides/outage.html) guide for some examples of how
this command is used. For an API to perform these operations programatically,
please see the documentation for the [Operator](/
docs/http
/operator.html)
please see the documentation for the [Operator](/
api
/operator.html)
endpoint.
## Usage
...
...
@@ -36,7 +36,7 @@ server.
## Examples
An example output with three servers is as follows:
```
$ nomad operator raft list-peers
Node ID Address State Voter
...
...
@@ -58,4 +58,3 @@ Raft configuration.
- `Voter` is "true" or "false", indicating if the server has a vote in the Raft
configuration. Future versions of Nomad may add support for non-voting servers.
This diff is collapsed.
Click to expand it.
website/source/docs/commands/operator-raft-remove-peer.html.md.erb
+
1
-
2
View file @
7def7eb8
...
...
@@ -21,7 +21,7 @@ command.
See the [Outage Recovery](/guides/outage.html) guide for some examples of how
this command is used. For an API to perform these operations programatically,
please see the documentation for the [Operator](/
docs/http
/operator.html)
please see the documentation for the [Operator](/
api
/operator.html)
endpoint.
## Usage
...
...
@@ -38,4 +38,3 @@ nomad operator raft remove-peer [options]
* `-peer-address`: Remove a Nomad server with given address from the Raft
configuration. The format is "IP:port"
This diff is collapsed.
Click to expand it.
website/source/docs/job-specification/template.html.md
+
1
-
1
View file @
7def7eb8
...
...
@@ -160,7 +160,7 @@ template {
## Client Configuration
The
`template`
block has the following
[
client configuration
options
](
/docs/agent/config.html#options
)
:
options
](
/docs/agent/config
uration/client
.html#options
)
:
*
`template.allow_host_source`
- Allows templates to specify their source
template as an absolute path referencing host directories. Defaults to
`true`
.
...
...
This diff is collapsed.
Click to expand it.
website/source/docs/operating-a-job/accessing-logs.html.md
+
1
-
1
View file @
7def7eb8
...
...
@@ -16,7 +16,7 @@ as simple as possible, Nomad provides:
-
Job specification for
[
log rotation
](
/docs/job-specification/logs.html
)
-
CLI command for
[
log viewing
](
/docs/commands/logs.html
)
-
API for programatic
[
log access
](
/
docs/http
/client
-fs
.html#logs
)
-
API for programatic
[
log access
](
/
api
/client.html#
stream-
logs
)
This section will utilize the job named "docs" from the
[
previous
sections
](
/docs/operating-a-job/submitting-jobs.html
)
, but these operations
...
...
This diff is collapsed.
Click to expand it.
website/source/docs/operating-a-job/resource-utilization.html.md
+
1
-
1
View file @
7def7eb8
...
...
@@ -94,4 +94,4 @@ documentation](/docs/agent/telemetry.html).
For more advanced use cases, the resource usage data is also accessible via the
client's HTTP API. See the documentation of the Client's
[
allocation HTTP
API
](
/
docs/http/client-allocation-stats
.html
)
.
API
](
/
api/client
.html
)
.
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help