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 服务网格