Merge pull request #4434 from gkrizek/gkrizek/fix-getting-started

Formatting and Typo fixes for Getting Started pages
This commit is contained in:
Michael Schurter 2018-06-20 11:34:24 -07:00 committed by GitHub
commit c3d30f4e6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View file

@ -129,7 +129,7 @@ We can see that Nomad reports the state of the allocation as well as its
current resource usage. By supplying the `-stats` flag, more detailed resource current resource usage. By supplying the `-stats` flag, more detailed resource
usage statistics will be reported. usage statistics will be reported.
To see the logs of a task, we can use the [logs command](/docs/commands/alloc/logs.html): To see the logs of a task, we can use the [`logs` command](/docs/commands/alloc/logs.html):
```text ```text
$ nomad alloc logs 8ba85cef redis $ nomad alloc logs 8ba85cef redis

View file

@ -134,11 +134,11 @@ replication continues to be attempted until the node recovers. Nomad will
automatically try to reconnect to _failed_ nodes, allowing it to recover from automatically try to reconnect to _failed_ nodes, allowing it to recover from
certain network conditions, while _left_ nodes are no longer contacted. certain network conditions, while _left_ nodes are no longer contacted.
If an agent is operating as a server, [leave_on_terminate](/docs/agent/configuration/index.html#leave_on_terminate) should only If an agent is operating as a server, [`leave_on_terminate`](/docs/agent/configuration/index.html#leave_on_terminate) should only
be set if the server will never rejoin the cluster again. The default value of `false` for 'leave_on_terminate` and `leave_on_interrupt` be set if the server will never rejoin the cluster again. The default value of `false` for `leave_on_terminate` and `leave_on_interrupt`
work well for most scenarios. If Nomad servers are part of an auto scaling group where new servers are brought up to replace work well for most scenarios. If Nomad servers are part of an auto scaling group where new servers are brought up to replace
failed servers, using graceful leave avoids causing a potential availability outage affecting the [consensus protocol](/docs/internals/consensus.html). failed servers, using graceful leave avoids causing a potential availability outage affecting the [consensus protocol](/docs/internals/consensus.html).
As of of Nomad 0.8, Nomad includes Autopilot which automatically removes failed or dead servers. This allows the operator to skip setting leave_on_terminate As of Nomad 0.8, Nomad includes Autopilot which automatically removes failed or dead servers. This allows the operator to skip setting `leave_on_terminate`
If a server does forcefully exit and will not be returning into service, the If a server does forcefully exit and will not be returning into service, the
[`server force-leave` command](/docs/commands/server/force-leave.html) should [`server force-leave` command](/docs/commands/server/force-leave.html) should