remove FIFO bucket quota, use ILM expiration instead (#14206)

This commit is contained in:
Harshavardhana
2022-01-31 11:07:04 -08:00
committed by GitHub
parent b5d35c7e09
commit dbd05d6e82
11 changed files with 147 additions and 721 deletions

View File

@@ -2,10 +2,7 @@
![quota](https://raw.githubusercontent.com/minio/minio/master/docs/bucket/quota/bucketquota.png)
Buckets can be configured to have one of two types of quota configuration - FIFO and Hard quota.
- `Hard` quota disallows writes to the bucket after configured quota limit is reached.
- `FIFO` quota automatically deletes oldest content until bucket usage falls within configured limit while permitting writes.
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.
@@ -21,12 +18,6 @@ Buckets can be configured to have one of two types of quota configuration - FIFO
$ mc admin bucket quota myminio/mybucket --hard 1gb
```
### Set FIFO quota of 5GB for a bucket "mybucket" on MinIO to allow automatic deletion of older content to ensure bucket usage remains within 5GB
```sh
$ mc admin bucket quota myminio/mybucket --fifo 5gb
```
### Verify the quota configured on `mybucket` on MinIO
```sh