Skip to content

Commit 33b2882

Browse files
authored
1 parent 1fae334 commit 33b2882

File tree

3 files changed

+56
-5
lines changed

3 files changed

+56
-5
lines changed

source/operations/install-deploy-manage/deploy-minio-tenant.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ Persistent Volumes
176176

177177
MinIO can use any Kubernetes :kube-docs:`Persistent Volume (PV) <concepts/storage/persistent-volumes>` that supports the :kube-docs:`ReadWriteOnce <concepts/storage/persistent-volumes/#access-modes>` access mode.
178178
MinIO's consistency guarantees require the exclusive storage access that ``ReadWriteOnce`` provides.
179+
Additionally, MinIO recommends setting a reclaim policy of ``Retain`` for the PVC :kube-docs:`StorageClass <concepts/storage/storage-classes>`.
179180

180181
For Kubernetes clusters where nodes have Direct Attached Storage, MinIO strongly recommends using the `DirectPV CSI driver <https://min.io/directpv?ref=docs>`__.
181182
DirectPV provides a distributed persistent volume manager that can discover, format, mount, schedule, and monitor drives across Kubernetes nodes.
@@ -769,4 +770,4 @@ Kubernetes provides multiple options for configuring external access to services
769770

770771
.. cond:: k8s and not (openshift or eks)
771772

772-
.. include:: /includes/k8s/steps-deploy-tenant-cli.rst
773+
.. include:: /includes/k8s/steps-deploy-tenant-cli.rst

source/reference/kubectl-minio-plugin/kubectl-minio-delete.rst

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ Syntax
5252

5353
.. code-block:: shell
5454
55-
kubectl minio delete \
56-
--namespace
55+
kubectl minio delete \
56+
--namespace \
57+
[--force --dangerous]
5758

5859
Flags
5960
-----
@@ -67,3 +68,17 @@ The command supports the following flags:
6768

6869
Defaults to ``minio-operator``.
6970

71+
.. mc-cmd:: --dangerous
72+
:optional:
73+
74+
Safety flag to confirm deletion of the MinIO Operator and all tenants with :mc-cmd:`~kubectl minio delete --force`.
75+
76+
This operation is irreversible.
77+
78+
.. mc-cmd:: --force
79+
:optional:
80+
81+
Deletes the MinIO Operator and all tenants without confirmation.
82+
Requires the :mc-cmd:`~kubectl minio delete --dangerous` flag.
83+
84+
This operation is irreversible.

source/reference/kubectl-minio-plugin/kubectl-minio-tenant-info.rst

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@ Displays information on a MinIO Tenant, including but not limited to:
2727
- The total capacity of the Tenant
2828
- The version of MinIO server and MinIO Console running on the Tenant
2929
- The configuration of each Pool in the Tenant.
30+
- The root user credentials for the Tenant.
3031

3132
.. end-kubectl-minio-tenant-info-desc
3233
3334
Syntax
3435
------
3536

3637
.. tab-set::
37-
38+
3839
.. tab-item:: EXAMPLE
3940

4041
The following example retrieves the information of the MinIO Tenant ``minio-tenant-1`` in the namespace ``minio-namespace-1``.
@@ -44,7 +45,7 @@ Syntax
4445
4546
kubectl minio tenant info \
4647
minio-tenant-1 \
47-
--namespace minio-namespace-1
48+
--namespace minio-namespace-1
4849
4950
.. tab-item:: SYNTAX
5051

@@ -68,3 +69,37 @@ The command supports the following flag:
6869
The namespace in which to look for the MinIO Tenant.
6970

7071
Defaults to ``minio``.
72+
73+
74+
Example
75+
-------
76+
77+
Display Tenant Details
78+
~~~~~~~~~~~~~~~~~~~~~~
79+
80+
The following command outputs information for the Tenant ``minio-tenant`` in the namespace ``minio-ns``:
81+
82+
.. code-block:: shell
83+
:class: copyable
84+
85+
kubectl minio tenant info \
86+
minio-tenant \
87+
--namespace minio-ns
88+
89+
The output resembles the following:
90+
91+
.. code-block:: shell
92+
93+
Tenant 'minio-tenant', Namespace 'minio-ns', Total capacity 16 GiB
94+
95+
Current status: Initialized
96+
MinIO version: minio/minio:RELEASE.2023-06-23T20-26-00Z
97+
MinIO service: minio/ClusterIP (port 443)
98+
Console service: minio-tenant-console/ClusterIP (port 9443)
99+
100+
POOL SERVERS VOLUMES(SERVER) CAPACITY(VOLUME)
101+
0 4 1 4.0 GiB
102+
103+
MinIO Root User Credentials:
104+
MINIO_ROOT_USER="root_user"
105+
MINIO_ROOT_PASSWORD="root_password"

0 commit comments

Comments
 (0)