Update License and added note about bucket format
parent
4d44f96e0d
commit
4ef76acf19
1 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
This script monitors and enforces user-based storage quotas on a MinIO object storage instance. It periodically aggregates disk usage per user, logs warnings for overages, and sets a Redis key when a user exceeds their quota.
|
||||
|
||||
**Important:** This script assumes that MinIO buckets are named in the format `username-bucketname`, where `username` is the user associated with the bucket.
|
||||
|
||||
## Features
|
||||
- Fetches MinIO buckets and groups them by user.
|
||||
- Calculates total storage usage for each user.
|
||||
|
@ -62,4 +64,4 @@ Other services (e.g., Nginx or an API gateway) can check Redis for quota exceeda
|
|||
The script handles `SIGINT` and `SIGTERM` signals to allow a clean exit.
|
||||
|
||||
## License
|
||||
This script is provided as-is under an open-source license.
|
||||
This script is provided under the **Creative Commons Attribution-NonCommercial 4.0 International** license.
|
Loading…
Add table
Reference in a new issue