Skip to main content
Version: release-0.8

Delete a Redis Cluster

Termination policy

note

The termination policy determines how a cluster is deleted.

terminationPolicyDeleting Operation
DoNotTerminateDoNotTerminate blocks delete operation.
HaltHalt deletes workload resources such as statefulset, deployment workloads but keep PVCs.
DeleteDelete deletes workload resources and PVCs but keep backups.
WipeOutWipeOut deletes workload resources, PVCs and all relevant resources included backups.

To check the termination policy, execute the following command.

kbcli cluster list redis-cluster
>
NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME
redis-cluster default redis redis-7.0.6 Delete Running Apr 10,2023 20:27 UTC+0800

Step

Run the command below to delete a specified cluster.

kbcli cluster delete redis-cluster