docs: fix formatting for volume and volume_mount doc pages

This commit is contained in:
Luiz Aoqui 2019-09-12 16:13:04 -04:00
parent 16d494344f
commit 8dd39333c9
2 changed files with 7 additions and 7 deletions

View file

@ -19,7 +19,7 @@ description: |-
</tr>
</table>
The "volume" stanza allows the group to specify that it requires a given volume
The `volume` stanza allows the group to specify that it requires a given volume
from the cluster.
The key of the stanza is the name of the volume as it will be exposed to task
@ -29,7 +29,7 @@ configuration.
job "docs" {
group "example" {
volume "certs" {
type = "host"
type = "host"
read_only = true
config {
@ -41,7 +41,7 @@ job "docs" {
```
The Nomad server will ensure that the allocations are only scheduled on hosts
that have a set of volumes that meet the criteria specified in the volume
that have a set of volumes that meet the criteria specified in the `volume`
stanzas.
The Nomad client will make the volumes available to tasks according to the

View file

@ -18,7 +18,7 @@ description: |-
</tr>
</table>
The "volume_mount" stanza allows the task to specify how a group
The `volume_mount` stanza allows the task to specify how a group
[`volume`][volume] should be mounted into the task.
```hcl
@ -56,7 +56,7 @@ updates to remove a volume that it depends on.
inside the tasks container.
- `read_only` `(bool: false)` - When a group volume is writeable, you may
specify that it is read_only on a per mount level using the `read_only` option
here.
specify that it is `read_only` on a per mount level using the `read_only`
option here.
[volume]: /docs/job-specification/volume.html "Nomad volume Job Specification"