Skip to content

Commit f5df2b2

Browse files
warn against force delete
1 parent 01cca3a commit f5df2b2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

content/operate/kubernetes/re-clusters/delete-custom-resources.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@ linkTitle: Delete custom resources
1111
weight: 70
1212
---
1313

14+
{{< warning >}}
15+
Use graceful deletion methods
16+
17+
When deleting Redis Enterprise resources or pods, try to avoid use `kubectl delete --force` or similar force deletion commands, as these can lead to:
18+
- Data loss or corruption
19+
- Incomplete cleanup of resources
20+
- Cluster instability
21+
22+
If resources appear stuck during deletion, investigate the underlying cause rather than forcing deletion. See [Troubleshoot Redis Enterprise pods]({{< relref "/operate/kubernetes/recommendations/troubleshoot-pods" >}}) for guidance.
23+
{{< /warning >}}
24+
1425
## Multi-namespace management
1526

1627
Before you can delete a namespace, you must remove the Redis custom resources ([REDB](#delete-a-database-redb), [REC](#delete-a-redis-enterprise-cluster-rec), and [operator](#delete-operator-from-one-namespace)) residing within a namespace before you can delete that namespace. Deleting namespace containing an REDB may cause errors or data loss.

0 commit comments

Comments
 (0)