1
0
mirror of https://github.com/minio/docs.git synced 2025-07-31 18:04:52 +03:00

Updates to mc docs for December 2022 releases (#697)

This PR applies updates to numerous files to address changes in the two
December 2022 `mc` releases.

- Deprecates `mc admin bucket quota` and links to new commands
- Adds `mc quota set | clear | info` commands
- Adds `attach | detach` subcommands to `mc admin idp ldap policy`
- Updates list of call types available to `mc admin trace`
- Updates `mc` page with new commands
- Fixes minor errors in `mc cp`
- Adds `--limit-*` flags to global flag options
- Adds `--versions` flag to `mc find`
    
Closes #685

- Updates ilm commands for new structure for tiers and rules
    
    - Deprecates `mc admin tier`
- Deprecates `mc ilm add | edit | export | import | ls | rm` commands
    - Adds new `mc ilm rule` and six subcommands
    - Adds new `mc ilm tier` and six subcommands
    - Updates references to ilm and admin tier  commands throughout docs
    - Adds new deprecated commands page
    - Adds `mc ilm rule` and `mc ilm tier` holding pages with toctrees

- Closes #691
- Closes #662
This commit is contained in:
Daryl White
2023-01-10 15:47:02 -06:00
committed by GitHub
parent 45aac689b4
commit 00de8dbeb6
42 changed files with 3546 additions and 302 deletions

View File

@ -1,13 +1,13 @@
.. start-create-transition-rule-desc
Use the :mc:`mc ilm add` command to create a new transition rule
Use the :mc:`mc ilm rule add` command to create a new transition rule
for the bucket. The following example configures transition after the
specified number of calendar days:
.. code-block:: shell
:class: copyable
mc ilm add ALIAS/BUCKET \
mc ilm rule add ALIAS/BUCKET \
--transition-tier TIERNAME \
--transition-days DAYS \
--noncurrent-transition-days NONCURRENT_DAYS
@ -23,28 +23,28 @@ The example above specifies the following arguments:
* - Argument
- Description
* - :mc-cmd:`ALIAS <mc ilm add ALIAS>`
* - :mc-cmd:`ALIAS <mc ilm rule add ALIAS>`
- Specify the :mc:`alias <mc alias>` of the MinIO deployment for which
you are creating the lifecycle management rule.
* - :mc-cmd:`BUCKET <mc ilm add ALIAS>`
* - :mc-cmd:`BUCKET <mc ilm rule add ALIAS>`
- Specify the full path to the bucket for which you are
creating the lifecycle management rule.
* - :mc-cmd:`TIERNAME <mc ilm add --transition-tier>`
* - :mc-cmd:`TIERNAME <mc ilm rule add --transition-tier>`
- The remote storage tier to which MinIO transitions objects.
Specify the remote storage tier name created in the previous step.
If you want to transition noncurrent object versions to a distinct
remote tier, specify a different tier name for
:mc-cmd:`~mc ilm add --noncurrent-transition-tier`.
:mc-cmd:`~mc ilm rule add --noncurrent-transition-tier`.
* - :mc-cmd:`DAYS <mc ilm add --transition-days>`
* - :mc-cmd:`DAYS <mc ilm rule add --transition-days>`
- The number of calendar days after which MinIO marks an object as
eligible for transition. Specify the number of days as an integer,
e.g. ``30`` for 30 days.
* - :mc-cmd:`NONCURRENT_DAYS <mc ilm add --noncurrent-transition-days>`
* - :mc-cmd:`NONCURRENT_DAYS <mc ilm rule add --noncurrent-transition-days>`
- The number of calendar days after which MinIO marks a noncurrent
object version as eligible for transition. MinIO specifically measures
the time since an object *became* non-current instead of the object