Documentation

kubectl minio tenant info

Description

Command Requires MinIO Operator

Use the following command to validate that the operator is online and available prior to running this command:

kubectl get deployments -A --field-selector metadata.name=minio-operator

Issue the kubectl minio init command to initiate the operator if it is not already running in the Kubernetes cluster.

Displays information on a MinIO Tenant, including but not limited to:

  • The total capacity of the Tenant

  • The version of MinIO server and MinIO Console running on the Tenant

  • The configuration of each Pool in the Tenant.

  • The root user credentials for the Tenant.

Syntax

The following example retrieves the information of the MinIO Tenant minio-tenant-1 in the namespace minio-namespace-1.

kubectl minio tenant info                          \
                     minio-tenant-1                \
                     --namespace minio-namespace-1

The command has the following syntax:

kubectl minio tenant info          \
                     TENANT_NAME   \
                     --namespace

Flags

The command supports the following flag:

--namespace
Optional

The namespace in which to look for the MinIO Tenant.

Defaults to minio.

Example

Display Tenant Details

The following command outputs information for the Tenant minio-tenant in the namespace minio-ns:

kubectl minio tenant info               \
                  minio-tenant          \
                  --namespace minio-ns

The output resembles the following:

Tenant 'minio-tenant', Namespace 'minio-ns', Total capacity 16 GiB

Current status: Initialized
MinIO version: minio/minio:RELEASE.2023-06-23T20-26-00Z
MinIO service: minio/ClusterIP (port 443)
Console service: minio-tenant-console/ClusterIP (port 9443)

POOL    SERVERS    VOLUMES(SERVER)    CAPACITY(VOLUME)
0       4          1                  4.0 GiB

MinIO Root User Credentials:
MINIO_ROOT_USER="root_user"
MINIO_ROOT_PASSWORD="root_password"