From 989fa2009d6a575cd09b79496a8bc6884fefec61 Mon Sep 17 00:00:00 2001 From: Felixnoo Date: Tue, 7 Dec 2021 17:20:11 +0800 Subject: [PATCH] Sync Commands Updates to 3.1.x Docs Signed-off-by: Felixnoo --- .../uninstall-pluggable-components.md | 13 ++++++++++--- .../uninstall-pluggable-components.md | 13 ++++++++++--- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/content/en/docs/pluggable-components/uninstall-pluggable-components.md b/content/en/docs/pluggable-components/uninstall-pluggable-components.md index ae5baa023..d822a50a1 100644 --- a/content/en/docs/pluggable-components/uninstall-pluggable-components.md +++ b/content/en/docs/pluggable-components/uninstall-pluggable-components.md @@ -118,11 +118,18 @@ Change the value of `openpitrix.store.enabled` from `true` to `false` in `ks-ins helm uninstall elasticsearch-logging --namespace kubesphere-logging-system ``` - {{< notice note >}} + {{< notice warning >}} This operation may cause anomalies in Auditing, Events, and Service Mesh. {{}} + +4. Run the following command: + + ```bash + kubectl delete deployment logsidecar-injector-deploy -n kubesphere-logging-system + kubectl delete ns kubesphere-logging-system + ``` ## Uninstall KubeSphere Events @@ -159,8 +166,8 @@ Change the value of `openpitrix.store.enabled` from `true` to `false` in `ks-ins ```bash helm uninstall kube-auditing -n kubesphere-logging-system - kubectl delete crd awh - kubectl delete crd ar + kubectl delete crd rules.auditing.kubesphere.io + kubectl delete crd webhooks.auditing.kubesphere.io ``` ## Uninstall KubeSphere Service Mesh diff --git a/content/zh/docs/pluggable-components/uninstall-pluggable-components.md b/content/zh/docs/pluggable-components/uninstall-pluggable-components.md index b269d5b82..0bf79ecf8 100644 --- a/content/zh/docs/pluggable-components/uninstall-pluggable-components.md +++ b/content/zh/docs/pluggable-components/uninstall-pluggable-components.md @@ -119,11 +119,18 @@ kubectl -n kubesphere-system edit clusterconfiguration ks-installer helm uninstall elasticsearch-logging --namespace kubesphere-logging-system ``` - {{< notice note >}} + {{< notice warning >}} 此操作可能导致审计、事件和服务网格的异常。 {{}} + +3. 运行以下命令: + + ```bash + kubectl delete deployment logsidecar-injector-deploy -n kubesphere-logging-system + kubectl delete ns kubesphere-logging-system + ``` ## 卸载 KubeSphere 事件系统 @@ -160,8 +167,8 @@ kubectl -n kubesphere-system edit clusterconfiguration ks-installer ```bash helm uninstall kube-auditing -n kubesphere-logging-system - kubectl delete crd awh - kubectl delete crd ar + kubectl delete crd rules.auditing.kubesphere.io + kubectl delete crd webhooks.auditing.kubesphere.io ``` ## 卸载 KubeSphere 服务网格