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
ordelete
policies, the command deletes thePVC
. - For
retain
, the command retains thePVC
.
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.