minio/docs/bucket/quota/README.md
Harshavardhana e3e0532613
cleanup markdown docs across multiple files (#14296)
enable markdown-linter
2022-02-11 16:51:25 -08:00

1.1 KiB

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