You can remove cluster logging from your OpenShift Container Platform cluster.
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.
Cluster logging and Elasticsearch must be installed.
To remove cluster logging:
Use the OpenShift Container Platform web console to remove the Clusterlogging
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 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 next to Clusterlogging and select Delete Custom Resource Definition.
Click the Options menu next to Elasticsearch and select Delete Custom Resource Definition.
Click the Options menu next to LogForwarding and select Delete Custom Resource Definition.
Optional: Remove the Cluster logging Operator and Elasticsearch Operator:
Switch to the Operators → Installed Operators page.
Select the openshift-logging
project.
Click the Options menu next to the Cluster logging Operator and select Uninstall Operator.
Select the openshift-operators-redhat
project.
Click the Options menu 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 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 next to the openshift-operators-redhat project and select Delete Project.
Do not delete the |
Confirm the deletion by typing openshift-operators-redhat
in the dialog box and click Delete.