1
0
mirror of https://github.com/minio/docs.git synced 2025-05-28 00:41:14 +03:00
docs/source/reference/kubectl-minio-plugin/kubectl-minio-tenant-delete.rst
2022-06-15 13:34:04 -05:00

2.2 KiB

kubectl minio tenant delete

minio

Table of Contents

kubectl minio tenant delete

Description

Deletes the MinIO Tenant and its associated resources.

The delete behavior of each Persistent Volume Claims (PVC) generated by the Tenant depends on the Reclaim Policy <concepts/storage/persistent-volumes/#reclaim-policy> of its bound Persistent Volume (PV):

  • For recycle or delete policies, the command deletes the PVC.
  • For retain, the command retains the PVC.

Deletion of the underlying PV, whether automatic or manual, results in the loss of any objects stored on the MinIO Tenant. Perform all due diligence in ensuring the safety of stored data prior to deleting the tenant.

Syntax

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.

kubectl minio tenant delete                       \
                       minio-tenant-1              \
                       --namespace minio-tenant-1

SYNTAX

The command has the following syntax:

kubectl minio tenant delete        \
                       TENANT_NAME \
                       --force     \
                       --namespace

Flags

The command supports the following flags:

TENANT_NAME

The name of the MinIO tenant which the command deletes.

--force

Forces the deletion of the tenant.

--namespace

The namespace scope to access.