mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-07 00:48:01 +01:00
69 lines
2.5 KiB
Plaintext
69 lines
2.5 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * logging/cluster-logging-uninstall.adoc
|
|
|
|
[id="cluster-logging-uninstall_{context}"]
|
|
= Uninstalling cluster logging from {product-title}
|
|
|
|
You can stop log aggregation by deleting the Cluster Logging custom resource (CR). However, after deleting the CR there are other cluster logging components that remain, which you can optionally remove.
|
|
|
|
.Prerequisites
|
|
|
|
* Cluster logging and Elasticsearch must be installed.
|
|
|
|
.Procedure
|
|
|
|
To remove cluster logging:
|
|
|
|
. Use the {product-title} web console to remove the Cluster Logging CR:
|
|
|
|
.. Switch to the *Administration* -> *Custom Resource Definitions* page.
|
|
|
|
.. On the *Custom Resource Definitions* page, click *ClusterLogging*.
|
|
|
|
.. On the *Custom Resource Definition Details* page, click *Instances*.
|
|
|
|
.. Click the Options menu {kebab} next to the instance and select *Delete ClusterLogging*.
|
|
|
|
. Optional: Delete the custom resource definitions (CRD):
|
|
|
|
.. Switch to the *Administration* -> *Custom Resource Definitions* page.
|
|
|
|
.. Click the Options menu {kebab} next to *ClusterLogForwarder* and select *Delete Custom Resource Definition*.
|
|
|
|
.. Click the Options menu {kebab} next to *ClusterLogging* and select *Delete Custom Resource Definition*.
|
|
|
|
.. Click the Options menu {kebab} next to *Elasticsearch* and select *Delete Custom Resource Definition*.
|
|
|
|
. Optional: Remove the Cluster Logging Operator and Elasticsearch Operator:
|
|
|
|
.. Switch to the *Operators* -> *Installed Operators* page.
|
|
|
|
.. Click the Options menu {kebab} next to the Cluster Logging Operator and select *Uninstall Operator*.
|
|
|
|
.. Click the Options menu {kebab} next to the Elasticsearch Operator and select *Uninstall Operator*.
|
|
|
|
. Optional: Remove the Cluster Logging and Elasticsearch projects.
|
|
|
|
.. Switch to the *Home* -> *Projects* page.
|
|
|
|
.. Click the Options menu {kebab} next to the *openshift-logging* project and select *Delete Project*.
|
|
|
|
.. Confirm the deletion by typing `openshift-logging` in the dialog box and click *Delete*.
|
|
|
|
.. Click the Options menu {kebab} next to the *openshift-operators-redhat* project and select *Delete Project*.
|
|
+
|
|
[IMPORTANT]
|
|
====
|
|
Do not delete the `openshift-operators-redhat` project if other global operators are installed in this namespace.
|
|
====
|
|
|
|
.. Confirm the deletion by typing `openshift-operators-redhat` in the dialog box and click *Delete*.
|
|
|
|
. Optional: Remove any Cluster Logging persistent volume claims (PVC):
|
|
|
|
.. Switch to the *Storage* -> *Persistent Volume Claims* page.
|
|
|
|
.. Click the Options menu {kebab} next to each PVC and select *Delete Persistent Volume Claim*.
|
|
|