From 5168f3d1c8c10fd60509dd23c21b99f9506cb9df Mon Sep 17 00:00:00 2001 From: wlp1153468871 Date: Mon, 26 Jun 2023 19:09:36 +0800 Subject: [PATCH] update operator readme.md Signed-off-by: wlp1153468871 --- operator/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/operator/README.md b/operator/README.md index 7e12c61c0..3a1f1851c 100644 --- a/operator/README.md +++ b/operator/README.md @@ -136,6 +136,13 @@ It is important to proceed with caution when deleting a Karmada CR due to the po kubectl delete karmada karmada-demo -n test ``` +If you want to delete a Karmada CR without cascading deletion of the associated Karmada instance, +you can run the following command before performing the deletion operation. + +```shell +kubectl label karmada karmada-demo -n test operator.karmada.io/disable-cascading-deletion=true +``` + ### Custom Karmada CR This feature allows you to configure the Karmada CR to install Karmada instances flexibly.