Managing cluster-wide S3 quotas
The cluster-wide S3 quota limits the total S3 storage capacity available to all projects and S3 users within the entire S3 cluster.
To set the cluster-wide quota
Use the following command:
vinfra service s3 project cluster-quota set --domain <domain> --quotas <quotas>
--domain <domain>- Domain name or ID
--quotas <quotas>- Quota size in GB
For example, to set the cluster-wide quota to 1 TB, run the following command specifying your existing domain:
# vinfra service s3 project cluster-quota set --domain mydomain --quotas 1024
You can check the applied quota in the vinfra service s3 project cluster-quota show output:
# vinfra service s3 project cluster-quota show --domain mydomain +---------------+--------+ | Field | Value | +---------------+--------+ | resource_type | global | | size | 1024 | | units | GB | +---------------+--------+
To remove the cluster-wide quota
Use the following command:
vinfra service s3 project cluster-quota remove --domain <domain>
--domain <domain>- Domain name or ID
For example, to remove the cluster-wide quota, run:
# vinfra service s3 project cluster-quota remove --domain mydomain