# Delete a Silo Tenant

LLMS index: [llms.txt](/llms.txt)

---

<a id="delete-a-minio-tenant"></a>
<a id="minio-k8s-delete-minio-tenant"></a>

## Prerequisites {#prerequisites}

### MinIO Kubernetes Operator {#minio-kubernetes-operator}

The procedures on this page *require* a valid installation of the MinIO Kubernetes Operator and assume the local host has a matching Operator installation. They use `v7.1.1`, the final upstream release before the repository was archived, as a frozen compatibility baseline.

See [Deploy MinIO on Kubernetes](/operations/deployments/kubernetes/#deploy-operator-kubernetes) for complete documentation on deploying the MinIO Operator.

## Tenant Persistent Volume Claims {#tenant-persistent-volume-claims}

The delete behavior of each Persistent Volume Claims (`PVC`) generated by the Tenant depends on the [Reclaim Policy](https://kubernetes.io/docs/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`.

> [!CAUTION]
> **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.

## Procedure {#procedure}

**Kustomization**

You can delete a Kustomization-installed Tenant by deleting the namespace:

```shell
kubectl delete namespace TENANT-NAMESPACE
```

Replace `TENANT-NAMESPACE` with the name of the namespace to remove.

> [!WARNING]
> **Important**
>
> Ensure you have specified the correct namespace for removal before running the command. Namespace removal occurs at the Kubernetes layer, such that the MinIO Operator cannot interfere with nor undo the operation.

**Helm**

You can delete a Helm-installed namespace by using the `helm uninstall` command:

```shell
helm uninstall --namespace MINIO-TENANT TENANT-NAME minio-operator/tenant
```

The command above assumes use of the MinIO Operator Chart repository. If you installed the Chart manually or by using a different repository name, specify that chart or name in the command.

Replace `TENANT-NAME` and `TENANT-NAMESPACE` with the name and namespace of the Tenant respectively. You can use `helm list -n TENANT-NAMESPACE` to validate the Tenant name.
