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.
- Install MinIO - MinIO Quickstart Guide.
- Use
mcwith MinIO Server
mc admin bucket quota myminio/mybucket --hard 1gbmc admin bucket quota myminio/mybucketmc admin bucket quota myminio/mybucket --clear