You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/post/deletion-policy/index.md
+19-14Lines changed: 19 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,17 @@
1
1
---
2
-
title: DeletionPolicy
3
-
menu:
4
-
docs_{{ .version }}:
5
-
identifier: pg-deletion-policy-concepts
6
-
name: DeletionPolicy
7
-
parent: pg-concepts-postgres
8
-
weight: 20
9
-
menu_name: docs_{{ .version }}
10
-
section_menu_id: guides
2
+
title: Deletion Policy for all DB
3
+
date: "2025-07-02"
4
+
weight: 26
5
+
authors:
6
+
- Bonusree Datta
7
+
tags:
8
+
- Kubernetes
9
+
- KubeDB
10
+
- PostgreSQL
11
+
11
12
---
12
-
> New to KubeDB? Please start [here](/docs/README.md).
13
+
14
+
> New to KubeDB? Please start [here](https://kubedb.com/docs/v2025.5.30/welcome/).
13
15
14
16
> 💡 **Note:** The deletion policy is the same for all supported databases. Here, an example for PostgreSQL is included to show how users can use this feature.
15
17
# Using Database Deletion Policy
@@ -19,7 +21,7 @@ KubeDB supports setting a deletion policy for PostgreSQL databases. This tutoria
19
21
20
22
- At first, you need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. If you do not already have a cluster, you can create one by using [kind](https://kind.sigs.k8s.io/docs/user/quick-start/).
21
23
22
-
- Now, install KubeDB cli on your workstation and KubeDB operator in your cluster following the steps [here](/docs/setup/README.md).
24
+
- Now, install KubeDB cli on your workstation and KubeDB operator in your cluster following the steps [here](https://kubedb.com/docs/v2025.5.30/setup/).
23
25
24
26
- To keep things isolated, this tutorial uses a separate namespace called `demo` throughout this tutorial.
25
27
```shell
@@ -252,7 +254,10 @@ No resources found in demo namespace.
252
254
253
255
From the above output, you can see that all postgres resources are deleted. there is no option to recreate/reinitialize your database if `deletionPolicy` is set to `WipeOut`.
254
256
255
-
## Next Steps
256
257
257
-
- Learn about Postgres crd [here](/docs/guides/postgres/concepts/postgres.md).
258
-
- Deploy your first PostgreSQL database with KubeDB by following the guide [here](/docs/guides/postgres/quickstart/quickstart.md).
258
+
## Support
259
+
- **Contact Us**: Reach out via [our website](https://appscode.com/contact/).
260
+
- **Stay Updated**: Follow us on [Twitter/X](https://x.com/KubeDB) for product announcements.
261
+
- **Tutorials**: Subscribe to our [YouTube channel](https://youtube.com/@appscode) for tutorials on production-grade Kubernetes tools.
262
+
- **Learn More**: Explore [Production-Grade Databases in Kubernetes](https://kubedb.com/).
263
+
- **Report Issues**: File bugs or feature requests on [GitHub](https://github.com/kubedb/project/issues/new).
0 commit comments