1
0
mirror of https://github.com/minio/docs.git synced 2025-09-16 07:22:15 +03:00
Files
docs/source/reference/minio-mc/mc-ilm-tier-info.rst
Daryl White 00de8dbeb6 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
2023-01-10 15:47:02 -06:00

3.1 KiB

mc ilm tier info

minio

Table of Contents

mc ilm tier info

Description

The mc ilm tier info command outputs statistics about a tier or all tiers for a deployment.

Required Permissions

MinIO requires the following permissions scoped to to the bucket or buckets for which you are creating lifecycle management rules.

  • s3:PutLifecycleConfiguration
  • s3:GetLifecycleConfiguration

MinIO also requires the following administrative permissions on the cluster in which you are creating remote tiers for object transition lifecycle management rules:

  • admin:SetTier
  • admin:ListTier

For example, the following policy provides permission for configuring object transition lifecycle management rules on any bucket in the cluster:.

/extra/examples/LifecycleManagementAdmin.json

Syntax

The command has the following syntax:

EXAMPLE

The following example outputs the configuration for an existing remote tier called WARM-TIER on the myminio deployment.

mc ilm tier info myminio WARM-TIER

SYNTAX

The command has the following syntax:

mc ilm tier info TARGET TIER_NAME 

Parameters

The command accepts the following arguments:

TARGET

The alias <mc alias> of a configured MinIO deployment on which the desired tier exists.

TIER_NAME

The name of an existing remote tier to display.

You must specify the tier in all-caps, e.g. WARM_TIER.

If not specified, MinIO lists statistics for all existing tiers on the deployment.

Global Flags

Example

Display the Statistics for an Existing Tier

The following example displays the statistics of the tier WARM-TIER on the myminio deployment.

mc ilm tier info myminio WARM-TIER 

Display the Statistics for all Existing Tiers on a Deployment

The following example displays the statistics of all existing tiers on the myminio deployment.

mc ilm tier info myminio

S3 Compatibility

Required Permissions

For permissions required to review a tier, refer to the required permissions <minio-mc-ilm-tier-permissions> on the parent command.