Enabling multicluster dashboard on Hub cluster

You can enable the multicluster dashboard on the install screen either before or after installing ODF Multicluster Orchestrator with the console plugin.

Before you begin

Procedure

  1. Create the configmap file named observability-metrics-custom-allowlist.yaml and add the name of the custom metric to the metrics_list.yaml parameter.
    You can use the following YAML to list the Fusion Data Foundation metrics on Hub cluster. For details, see Adding custom metrics within the Red Hat Advanced Cluster Management for Kubernetes product documentation.
    kind: ConfigMap
    apiVersion: v1
    metadata:
      name: observability-metrics-custom-allowlist
      Namespace: open-cluster-management-observability
    data:
      metrics_list.yaml: |
        names:
          - odf_system_health_status
          - odf_system_map
          - odf_system_raw_capacity_total_bytes
          - odf_system_raw_capacity_used_bytes
        matches:
          - __name__="csv_succeeded",exported_namespace="openshift-storage",name=~"odf-operator.*"
  2. Run the following command in the open-cluster-management-observability namespace:
    oc apply -n open-cluster-management-observability -f observability-metrics-custom-allowlist.yaml
    After the observability-metrics-custom-allowlist yaml is created, RHACM will start collecting the listed Fusion Data Foundation metrics from all the managed clusters.

    If you want to exclude specific managed clusters from collecting the observability data, add the following cluster label to your clusters: observability: disabled.

  3. To view the multicluster health, see Verifying Fusion Data Foundation is healthy.