Dynamic Host Volume Registration
Registers a dynamic host volume in Nomad that has already been created. Note that Nomad supports two workflows for dynamic host volumes: create and register. Both resources result in the same data source with the same outputs.
Properties
(block: <optional>)
- Option for validating the capability of a volume. Each capability block has the following attributes:
Constraints
(string: <required>)
- The name of the volume, which is used as the volume_source field in job specifications that claim this volume. Host volume names must be unique per node. Names are visible to any user with node:read
ACL, even across namespaces, so they should not be treated as sensitive values.
(map<string|string>: <optional>)
- A key-value map of strings passed directly to the plugin to configure the volume. The details of these parameters are specific to the plugin. `access_mode`: /nomad/docs/other-specifications/volume/capability#access_mode `attachment_mode`: /nomad/docs/other-specifications/volume/capability#attachment_mode volume_source: /nomad/docs/job-specification/volume#source