Deleting a PostgreSQL cluster
Written by
Updated at April 8, 2026
If you have a PostgreSQL cluster in your project, you can delete it.
Warning
If the deletion protection is on (spec.deletionProtection: true), you cannot delete the cluster. First, deactivate the protection by setting spec.deletionProtection: false in the manifest and applying the changes (kubectl apply). Alternatively, deactivate it on the cluster editing page in the management console. Then you can delete the cluster.
CLI
Management console
- Find the name of the required cluster in the list of project clusters:
kubectl get PostgresqlCluster -n <project name>. - Delete the cluster resource:
kubectl delete PostgresqlCluster <cluster name> -n <project name>.
- If you have not opened a project yet, select one.
- In the left-hand menu, select PostgreSQL Clusters.
- Select a cluster.
- Click Delete.
- Confirm the deletion.
This is it. You have successfully deleted the cluster.