1
0
mirror of https://github.com/minio/docs.git synced 2025-04-22 19:02:57 +03:00
docs/source/operations/install-deploy-manage/delete-minio-tenant.rst
2022-06-16 15:41:56 -04:00

1.8 KiB

Delete a MinIO Tenant

minio

Table of Contents

Prerequisites

MinIO Kubernetes Operator and Plugin

This procedures on this page requires a valid installation of the MinIO Kubernetes Operator and assumes the local host has a matching installation of the MinIO Kubernetes Operator. This procedure assumes the latest stable Operator and Plugin version .

See deploy-operator-kubernetes for complete documentation on deploying the MinIO Operator.

Procedure (CLI)

Use the kubectl minio tenant delete command to delete a 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.

Warning

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.

kubectl minio tenant delete TENANT_NAME \
              --namespace TENANT_NAMESPACE
  • Replace TENANT_NAME with the name of the Tenant.
  • Replace TENANT_NAMESPACE with the namespace of the Tenant.

The command includes a confirmation prompt that requires explicit approval of the delete operation.