hashicorp / hashicorp/nomad

CSI: display size limits on plugins via GetCapacity RPC

Open
#10,282 1 comment 0 reactions 0 assignees View on GitHub
theme/storage type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

Some CSI plugins support the Controller [`GetCapacity`](https://github.com/container-storage-interface/spec/blob/master/spec.md#getcapacity) RPC, which sets a maximum and minimum size for volumes. The plugin already validates these when we create a volume (#10165), but it would be nice to give the user a chance to set the right values before they try to create a volume. We can call `GetCapacity` as part of the `nomad plugin status :plugin_id` command to display these values (maybe only if the `-verbose` flag is set for performance).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.