minio/docs/bucket/quota
2022-09-28 21:28:45 -07:00
..
bucketquota.png Add docs for bucket quota feature (#9503) 2020-05-16 19:27:33 -07:00
README.md Update links to documentation site (#15750) 2022-09-28 21:28:45 -07:00

Bucket Quota Configuration Quickstart Guide Slack Docker Pulls

quota

Buckets can be configured to have Hard quota - it disallows writes to the bucket after configured quota limit is reached.

NOTE: Bucket quotas are not supported under gateway or standalone single disk deployments.

Prerequisites

Set bucket quota configuration

Set a hard quota of 1GB for a bucket mybucket on MinIO object storage

mc admin bucket quota myminio/mybucket --hard 1gb

Verify the quota configured on mybucket on MinIO

mc admin bucket quota myminio/mybucket

Clear bucket quota configuration for mybucket on MinIO

mc admin bucket quota myminio/mybucket --clear