mirror of
https://github.com/minio/docs.git
synced 2025-07-30 07:03:26 +03:00
Remove FIFO from mc admin bucket quota
Fixup
This commit is contained in:
@ -32,9 +32,8 @@ storage quotas.
|
|||||||
Units of Measurement
|
Units of Measurement
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
The :mc-cmd-option:`mc admin bucket quota hard` and
|
The :mc-cmd-option:`mc admin bucket quota hard` flag
|
||||||
:mc-cmd-option:`mc admin bucket quota fifo` flags
|
accepts the following case-insensitive suffixes to represent the unit of the
|
||||||
accept the following case-insensitive suffixes to represent the unit of the
|
|
||||||
specified size value:
|
specified size value:
|
||||||
|
|
||||||
.. list-table::
|
.. list-table::
|
||||||
@ -95,28 +94,6 @@ limit.
|
|||||||
For example, to set a hard limit of 10 Terrabytes, specify ``10t``.
|
For example, to set a hard limit of 10 Terrabytes, specify ``10t``.
|
||||||
See :ref:`mc-admin-bucket-quota-units` for supported units.
|
See :ref:`mc-admin-bucket-quota-units` for supported units.
|
||||||
|
|
||||||
Configure a First-In First-Out (FIFO) Quota on a Bucket
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Use :mc:`mc admin bucket quota` with the
|
|
||||||
:mc-cmd-option:`~mc admin bucket quota fifo` flag to specify a quota with
|
|
||||||
First-In First-Out deletion of content. FIFO quotas prevent the bucket size
|
|
||||||
from growing past the specified limit by deleting the oldest content on the
|
|
||||||
bucket to make room for newer content.
|
|
||||||
|
|
||||||
.. code-block:: shell
|
|
||||||
:class: copyable
|
|
||||||
|
|
||||||
mc admin bucket quota TARGET/BUCKET --fifo LIMIT
|
|
||||||
|
|
||||||
- Replace ``TARGET`` with the :mc-cmd:`alias <mc alias>` of a configured
|
|
||||||
MinIO deployment. Replace ``BUCKET`` with the name of the bucket on which to
|
|
||||||
set the quota.
|
|
||||||
|
|
||||||
- Replace ``LIMIT`` with the maximum size to which the bucket can grow.
|
|
||||||
For example, to set a limit of 10 Terrabytes, specify ``10t``.
|
|
||||||
See :ref:`mc-admin-bucket-quota-units` for supported units.
|
|
||||||
|
|
||||||
Retrieve Bucket Quota Configuration
|
Retrieve Bucket Quota Configuration
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
@ -130,7 +107,7 @@ for a bucket:
|
|||||||
|
|
||||||
Replace ``TARGET`` with the :mc-cmd:`alias <mc alias>` of a configured
|
Replace ``TARGET`` with the :mc-cmd:`alias <mc alias>` of a configured
|
||||||
MinIO deployment. Replace ``BUCKET`` with the name of the bucket on which to
|
MinIO deployment. Replace ``BUCKET`` with the name of the bucket on which to
|
||||||
retreive the quota.
|
retrieve the quota.
|
||||||
|
|
||||||
Clear Configured Bucket Quota
|
Clear Configured Bucket Quota
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@ -186,18 +163,6 @@ Syntax
|
|||||||
|
|
||||||
See :ref:`mc-admin-bucket-quota-units` for supported unit sizes.
|
See :ref:`mc-admin-bucket-quota-units` for supported unit sizes.
|
||||||
|
|
||||||
.. mc-cmd:: fifo
|
|
||||||
:option:
|
|
||||||
|
|
||||||
Sets a maximum limit to the bucket storage size. The MinIO server removes
|
|
||||||
the oldest objects in the bucket to make space for newer objects such that
|
|
||||||
the bucket size remains below the specified limit.
|
|
||||||
|
|
||||||
For example, a ``fifo`` limit of ``10GB`` would result in removal of the
|
|
||||||
oldest objects in the bucket once it reaches ``10GB`` in size.
|
|
||||||
|
|
||||||
See :ref:`mc-admin-bucket-quota-units` for supported unit sizes.
|
|
||||||
|
|
||||||
.. mc-cmd:: clear
|
.. mc-cmd:: clear
|
||||||
:option:
|
:option:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user