diff --git a/website/source/docs/job-specification/volume.html.md b/website/source/docs/job-specification/volume.html.md index 6091b644c..f3137e157 100644 --- a/website/source/docs/job-specification/volume.html.md +++ b/website/source/docs/job-specification/volume.html.md @@ -19,7 +19,7 @@ description: |- -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 diff --git a/website/source/docs/job-specification/volume_mount.html.md b/website/source/docs/job-specification/volume_mount.html.md index d9d376e06..44056064e 100644 --- a/website/source/docs/job-specification/volume_mount.html.md +++ b/website/source/docs/job-specification/volume_mount.html.md @@ -18,8 +18,8 @@ description: |- -The "volume_mount" stanza allows the task to specify how a group -[`volume`][volume] should be mounted into the task. +The `volume_mount` stanza allows the task to specify how a group +[`volume`][volume] should be mounted into the task. ```hcl job "docs" { @@ -35,7 +35,7 @@ job "docs" { task "example" { volume_mount { - source = "certs" + volume = "certs" destination = "/etc/ssl/certs" } } @@ -49,14 +49,14 @@ updates to remove a volume that it depends on. ## `volume_mount` Parameters -- `source` `(string: "")` - Specifies the group volume that the mount is going +- `volume` `(string: "")` - Specifies the group volume that the mount is going to access. - `destination` `(string: "")` - Specifies where the volume should be mounted 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"