第 2 章 Multicluster storage health


To view the overall storage health status across all the clusters with OpenShift Data Foundation and manage its capacity, you must first enable the multicluster dashboard on the Hub cluster.

2.1. 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.

Prerequisites

  • Ensure that you have installed OpenShift Container Platform version 4.17 and have administrator privileges.
  • Ensure that you have installed Multicluster Orchestrator 4.17 operator with plugin for console enabled.
  • Ensure that you have installed Red Hat Advanced Cluster Management for Kubernetes (RHACM) 2.11 from Operator Hub. For instructions on how to install, see Installing RHACM.
  • Ensure you have enabled observability on RHACM. See Enabling observability guidelines.

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 OpenShift Data Foundation metrics on Hub cluster. For details, see Adding custom metrics.

    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 observability-metrics-custom-allowlist yaml is created, RHACM will start collecting the listed OpenShift 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 chapter verifying multicluster storage dashboard.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部