> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/open-source/use-harness-open-source/pipelines-1/reference/volume.md).

# Volume

## Properties

* **name** - *string*\
  The volume name
* **type** - *string*\
  The volume type

  **enum values:**

  * `claim`
  * `config-map`
  * `temp`
  * `host`
* **spec** - *string*\
  The volume type specification.

## Examples

```yaml
volumes:
- type: volume
  spec: temp
  spec: {}
```

```yaml
volumes:
- type: volume
  spec: host
  spec:
    path: /path/on/host/machine
```
