kubectl minio delete
Description
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 metadata.name=minio-operator
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
.
Warning
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.
Syntax
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
Flags
The command supports the following flags: