Skip to content

Managing Quota

Hamed Karbasi edited this page Feb 3, 2024 · 3 revisions

The quota for the s3-related resources is managed like the built-in quotas of the Kubernetes resources, i.e. by the ResourceQuota and the ClusterResourceQuota resources. The operator currently supports 3 resource names: s3/size, s3/objects, and s3/buckets which define the maximum of the specified resources for a user. These fields are added to the quota of each team:

s3/buckets: 10
s3/objects: 1M
s3/size: 500Gi

By default, they are not included in the namespace quota objects, which means that a namespace can utilize the entire quota allocated to a team.

Note: The operator assesses S3 quotas concerning the cluster's resource quota, a process that is facilitated by assigning the team label snappcloud.io/team=<YOUR_TEAM_NAME> to the namespace where you plan to deploy the operator objects. Therefore, it is necessary to add this label to the namespace if it is not already present.

Clone this wiki locally