Skip to content

Commit

Permalink
Merge e2a30c9 into backport/docs-csi-volume-capacity/positively-conci…
Browse files Browse the repository at this point in the history
…se-goblin
  • Loading branch information
hc-github-team-nomad-core committed Apr 29, 2022
2 parents 333aee0 + e2a30c9 commit 520c046
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions website/content/docs/commands/volume/create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,25 @@ parameters {
volume. If omitted, the volume will be created from scratch. The
`clone_id` cannot be set if the `snapshot_id` field is set.

- `capacity_min` `(string: <optional>)` - Option for setting the capacity. The
volume must be at least this large, in bytes. The storage provider may
return a volume that is larger than this value. Accepts human-friendly
suffixes such as `"100GiB"`. This field may not be supported by all
storage providers.

- `capacity_max` `(string: <optional>)` - Option for setting the capacity. The
volume must be no more than this large, in bytes. The storage provider may
return a volume that is smaller than this value. Accepts human-friendly
suffixes such as `"100GiB"`. This field may not be supported by all
storage providers.
- `capacity_min` `(string: <optional>)` - Option for requesting a
minimum capacity, in bytes. The capacity of a volume may be the
physical size of a disk, or a quota, depending on the storage
provider. The specific size of the resulting volume will be
somewhere between `capacity_min` and `capacity_max`; the exact
behavior is up to the storage provider. If you want to specify an
exact size, you should set `capacity_min` and `capacity_max` to the
same value. Accepts human-friendly suffixes such as `"100GiB"`. This
field may not be supported by all storage providers.

- `capacity_max` `(string: <optional>)` - Option for requesting a
maximum capacity, in bytes. The capacity of a volume may be the
physical size of a disk, or a quota, depending on the storage
provider. The specific size of the resulting volume will be
somewhere between `capacity_min` and `capacity_max`; the exact
behavior is up to the storage provider. If you want to specify an
exact size, you should set `capacity_min` and `capacity_max` to the
same value. Accepts human-friendly suffixes such as `"100GiB"`. This
field may not be supported by all storage providers.

- `capability` `(Capability: <required>)` - Option for validating the
capability of a volume. You must provide at least one `capability` block, and
Expand Down

0 comments on commit 520c046

Please sign in to comment.