Dynamic Host Volume Registration Args
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.
Constructors
Properties
(block: <optional>)
- Option for validating the capability of a volume. Each capability block has the following attributes:
(string: <optional>)
- The size of a volume in bytes. Either the physical size of a disk or a quota, depending on the plugin. This field must be between the capacity_min
and capacity_max
values unless they are omitted. Accepts human-friendly suffixes such as "100GiB"
.
(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