1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/uninstall-loki-operator.adoc
2025-10-07 12:26:32 -04:00

43 lines
1.6 KiB
Plaintext

// Module included in the following assemblies:
//
// * observability/logging/cluster-logging-uninstall.adoc
:_mod-docs-content-type: PROCEDURE
[id="uninstall-loki-operator_{context}"]
= Uninstalling Loki
.Prerequisites
* You have administrator permissions.
* You have access to the {product-title} web console with `cluster-admin` privleges.
* If you have not already removed the {clo} and related resources, you have removed references to LokiStack from the `ClusterLogging` custom resource.
.Procedure
. Go to the *Administration* -> *Custom Resource Definitions* page, and click *LokiStack*.
. On the *Custom Resource Definition Details* page, click *Instances*.
. Click the Options menu {kebab} next to the instance, and then click *Delete LokiStack*.
. Go to the *Administration* -> *Custom Resource Definitions* page.
. Click the Options menu {kebab} next to *LokiStack*, and select *Delete Custom Resource Definition*.
. Delete the object storage secret.
. Go to the *Ecosystem* -> *Installed Operators* page.
. Click the Options menu {kebab} next to the {loki-op}, and then click *Uninstall Operator*.
. Optional: Delete the `openshift-operators-redhat` project.
+
[IMPORTANT]
====
Do not delete the `openshift-operators-redhat` project if other global Operators are installed in this namespace.
====
.. Go to the *Home* -> *Projects* page.
.. Click the Options menu {kebab} next to the *openshift-operators-redhat* project, and then click *Delete Project*.
.. Confirm the deletion by typing `openshift-operators-redhat` in the dialog box, and then click *Delete*.