1
0
mirror of https://github.com/minio/docs.git synced 2025-07-30 07:03:26 +03:00
Files
docs/source/reference/kubectl-minio-plugin/kubectl-minio-tenant-report.rst
2022-06-15 13:34:04 -05:00

79 lines
1.8 KiB
ReStructuredText

.. _kubectl-minio-tenant-report:
===============================
``kubectl minio tenant report``
===============================
.. default-domain:: minio
.. contents:: Table of Contents
:local:
:depth: 2
.. mc:: kubectl minio tenant report
Description
-----------
.. include:: /includes/facts-kubectl-plugin.rst
:start-after: start-kubectl-minio-requires-operator-desc
:end-before: end-kubectl-minio-requires-operator-desc
.. start-kubectl-minio-tenant-report-desc
Saves pod logs from the MinIO Tenant and its associated resources.
.. end-kubectl-minio-tenant-report-desc
The logs output to a zip archive file.
When unzipped, the contents include three files for each pool:
- JSON formatted file listing events
- JSON formatted file listing the status
- Human readable log file
The folder also contains the yaml file for the tenant in ``TENANT_NAME.yaml``
Syntax
------
.. tab-set::
.. tab-item:: EXAMPLE
The following example creates a MinIO Tenant in the namespace ``minio-tenant-1`` consisting of 4 MinIO servers with 8 drives each and a total capacity of 32Ti.
.. code-block:: shell
:class: copyable
kubectl minio tenant report \
TENANT1 \
--namespace minio-namespace
.. tab-item:: SYNTAX
The command has the following syntax:
.. code-block:: shell
kubectl minio tenant report \
TENANT_NAME \
--namespace
Flags
-----
The command supports the following flags:
.. mc-cmd:: TENANT_NAME
:required:
The name of the MinIO tenant to expand.
.. mc-cmd:: --namespace
:optional:
The namespace in which to look for the MinIO Tenant.