This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.Questo contenuto non è disponibile nella lingua selezionata.
Chapter 15. Uninstalling Cluster Logging
You can remove cluster logging from your OpenShift Container Platform cluster.
15.1. Uninstalling cluster logging from OpenShift Container Platform Copia collegamentoCollegamento copiato negli appunti!
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 OpenShift Container Platform web console to remove the
ClusterLoggingCR:- 
								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.
							 
- 
								Switch to the Administration 
 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.
							 
- 
								Switch to the Administration 
 Optional: Remove the Cluster Logging Operator and Elasticsearch Operator:
- 
								Switch to the Operators 
Installed Operators page.  - 
								Select the 
openshift-loggingproject. - 
								Click the Options menu 
								
								 next to the Cluster Logging Operator and select Uninstall Operator.
							 - 
								Select the 
openshift-operators-redhatproject. - 
								Click the Options menu 
								
								 next to the Elasticsearch Operator and select Uninstall Operator.
							 
- 
								Switch to the Operators 
 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-loggingin the dialog box and click Delete. Click the Options menu
								 next to the openshift-operators-redhat project and select Delete Project.
							ImportantDo not delete the
openshift-operators-redhatproject if other global operators are installed in this namespace.- 
								Confirm the deletion by typing 
openshift-operators-redhatin the dialog box and click Delete. 
- 
								Switch to the Home