Managing domain S3 quotas

The domain S3 quota limits the total S3 storage capacity available to all projects and S3 users within the domain.

To set the quota for a domain

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 quota for the domain mydomain to 1 TB, run:

# 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 quota from a domain

Use the following command:

vinfra service s3 project cluster-quota remove --domain <domain>
--domain <domain>
Domain name or ID

For example, to remove the quota from the domain mydomain, run:

# vinfra service s3 project cluster-quota remove --domain mydomain