Delete Instance
WARNING
Important Considerations Before Deletion
- This operation is irreversible - deleted instances cannot be recovered
- Ensure you have valid backups if you might need the data later
- Verify no applications are currently using this database instance
- Cluster deletion will remove all replicas and associated resources
Deleting a PostgreSQL instance will remove:
- The Custom Resource (CR)
- StatefulSet and Pods
- ConfigMaps and Secrets
- PersistentVolumeClaims (PVCs)
- Monitoring and logging resources
TOC
Procedure
To delete a PostgreSQL instance (including all associated PVCs), execute:
Example output:
After deletion, you can confirm the instance status with:
Post-Deletion Verification
After deletion, verify all resources are removed: