diff --git a/cluster-scope/overlays/prod/moc/infra/configmaps/observability-metrics-custom-allowlist.yaml b/cluster-scope/overlays/prod/moc/infra/configmaps/observability-metrics-custom-allowlist.yaml new file mode 100644 index 000000000..efe3399f4 --- /dev/null +++ b/cluster-scope/overlays/prod/moc/infra/configmaps/observability-metrics-custom-allowlist.yaml @@ -0,0 +1,10 @@ +kind: ConfigMap +apiVersion: v1 +metadata: + name: observability-metrics-custom-allowlist + namespace: open-cluster-management-observability +data: + metrics_list.yaml: | + names: + - mapi_machine_created_timestamp_seconds + - kube_node_info diff --git a/cluster-scope/overlays/prod/moc/infra/kustomization.yaml b/cluster-scope/overlays/prod/moc/infra/kustomization.yaml index a32522260..e87e204cf 100644 --- a/cluster-scope/overlays/prod/moc/infra/kustomization.yaml +++ b/cluster-scope/overlays/prod/moc/infra/kustomization.yaml @@ -42,6 +42,7 @@ resources: - ../../../../bundles/odf-external - apiserver/api_server_cert.yaml - configmaps/service-catalog-k8s-plugin.yaml + - configmaps/observability-metrics-custom-allowlist.yaml - clusterversion.yaml - externalsecrets - kubeletconfigs/increase-worker-system-reserved-memory.yaml