kubectl minio delete


Command Requires MinIO Operator

Use the following command to validate that the operator is online and available prior to running this command:

kubectl get deployments -A --field-selector

Issue the kubectl minio init command to initiate the operator if it is not already running in the Kubernetes cluster.

Deletes the MinIO Operator along with all associated resources, including all MinIO Tenant instances in the watched namespace.


If the underlying Persistent Volumes (PV) were created with a reclaim policy of recycle or delete, deleting the MinIO Tenant results in complete loss of all objects stored on the tenant.

Ensure you have performed all due diligence in confirming the safety of any data on each Operator-managed MinIO Tenant prior to deletion.


The following example deletes a the MinIO Operator in the minio-operator namesapce and all its tenants:

kubectl minio delete --namespace minio-operator

The command has the following syntax:

kubectl minio delete                 \
               --namespace           \
               [--force --dangerous]


The command supports the following flags:


The namespace of the operator to delete.

Defaults to minio-operator.


Safety flag to confirm deletion of the MinIO Operator and all tenants with --force.

This operation is irreversible.


Deletes the MinIO Operator and all tenants without confirmation. Requires the --dangerous flag.

This operation is irreversible.