1.4.3.2. Disable metrics-collector on a single cluster
You can disable the metrics-collector
on specific managed clusters by completing one of the following procedures:
-
Add the
observability: disabled
label to the custom resource,managedclusters.cluster.open-cluster-management.io
. From the Red Hat Advanced Cluster Management console Clusters page, add the
observability: disabled
label by completing the following steps:- In the Red Hat Advanced Cluster Management console navigation, select Automate infrastructure > Clusters.
- Select the name of the cluster for which you want to disable data collection that is sent to observability.
- Select Labels.
Create the label that disables the observability collection by adding the following label:
observability=disable
- Select Add to add the label.
- Select Done to close the list of labels.
Note: When a managed cluster with the observability component is detached, the metrics-collector
deployments are removed.
For more information on monitoring data from the console with the observability service, see Observing environments.