Describe the solution you'd like
Today, we don't have any solution that allows the Trident administrator to limit the amount of storage capacity a Kubernetes user/administrator can provision.
We want to add a new backend option that, if defined, sets a value that the sum of all PVCs should never exceed.
This option could be considered as a storage quota.
Describe alternatives you've considered
As an alternative, we can add a new option to limit the number of volumes that can be created by a cluster and use it with the already existing option limitVolumeSize.
By combining these two options, we can define a storage quota.
For example, if the defined quota is 600 GB, we can configure as follow:
limitVolumeSize: 600GB
LimitVolumeNumber= 1
or
limitVolumeSize: 300GB
LimitVolumeNumber= 2
Describe the solution you'd like
Today, we don't have any solution that allows the Trident administrator to limit the amount of storage capacity a Kubernetes user/administrator can provision.
We want to add a new backend option that, if defined, sets a value that the sum of all PVCs should never exceed.
This option could be considered as a storage quota.
Describe alternatives you've considered
As an alternative, we can add a new option to limit the number of volumes that can be created by a cluster and use it with the already existing option limitVolumeSize.
By combining these two options, we can define a storage quota.
For example, if the defined quota is 600 GB, we can configure as follow:
limitVolumeSize: 600GB
LimitVolumeNumber= 1
or
limitVolumeSize: 300GB
LimitVolumeNumber= 2