1
0
mirror of https://github.com/minio/docs.git synced 2025-06-30 17:42:04 +03:00
Files
docs/source/reference/kubectl-minio-plugin/kubectl-minio-delete.rst

2.1 KiB

kubectl minio delete

minio

Table of Contents

kubectl minio delete

Description

Deletes the MinIO Operator along with all associated resources, including all MinIO Tenant instances in the watched namespace <kubectl minio init --namespace-to-watch>.

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

EXAMPLE

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

kubectl minio delete --namespace minio-operator

SYNTAX

The command has the following syntax:

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

Flags

The command supports the following flags:

--namespace

The namespace of the operator to delete.

Defaults to minio-operator.

--dangerous

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

This operation is irreversible.

--force

Deletes the MinIO Operator and all tenants without confirmation. Requires the ~kubectl minio delete --dangerous flag.

This operation is irreversible.