kubeblocks-delete-cluster

Delete KubeBlocks database clusters with pre-deletion checks and resource cleanup.

3|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/apecloud/kubeblocks-skills --skill kubeblocks-delete-cluster
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kubeblocks-delete-cluster
Source: https://github.com/apecloud/kubeblocks-skills/tree/main/skills/kubeblocks-delete-cluster
Command: npx skills add https://github.com/apecloud/kubeblocks-skills --skill kubeblocks-delete-cluster

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Safely remove a KubeBlocks-managed database cluster by enforcing pre-deletion checks, termination policy handling, and cleanup of residual resources, with an auditable trail for data-protection boundaries.

Core Features & Use Cases

  • Pre-deletion checks and terminationPolicy handling to ensure only approved clusters are deleted.
  • Safe deletion of Pods, PVCs, Secrets, and related resources, while preserving backups when applicable.
  • Use Case: Decommission a production cluster after explicit confirmation and data-protection checks, then verify that resources and access are removed.

Quick Start

Confirm the target cluster exists and that the user intends to decommission it, then start the safe deletion workflow.

Frequently Asked Questions about kubeblocks-delete-cluster

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely delete a KubeBlocks database cluster?

To safely delete a KubeBlocks cluster, a pre-deletion workflow enforces explicit confirmation, applies terminationPolicy handling, cleans up resources, and verifies removal to ensure auditable destruction.

How does terminationPolicy affect cluster decommissioning in KubeBlocks?

terminationPolicy handling ensures only approved clusters are deleted during cluster decommissioning. It governs the safe deletion of Pods, PVCs, and Secrets while preserving backups when applicable.

Do I need to verify backups before removing a KubeBlocks cluster?

Yes, data-protection checks are required before removing a KubeBlocks cluster. The workflow enforces pre-deletion checks and preserves backups when applicable to maintain data-protection boundaries.

What is the best way to clean up residual resources after deleting a database cluster?

The best way to clean up residual resources after deleting a database cluster is using a safe deletion workflow that removes Pods, PVCs, and Secrets, followed by post-deletion verification.

Why are my Pods and PVCs still accessible after a KubeBlocks cluster deletion?

Pods and PVCs may remain if post-deletion verification was not completed. A safe deletion workflow ensures resource cleanup and verifies that resources and access are fully removed.