Skip to content

Commit 2266c60

Browse files
committed
add note
1 parent 7aa6440 commit 2266c60

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

telco-core/configuration/reference-crs/optional/other/monitoring-config-cm.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,6 @@ data:
4949
resources:
5050
requests:
5151
storage: 20Gi
52+
53+
# Core Observability configuration
54+
# As a prerequisite for merging Core Observability configuration with openshift-monitoring, apply the observabilityRoutePolicy on the HUB from the telco-hub required reference-crs. This is needed to copy the alert-manager URL from the hub side open-cluster-management-observability namespace and make it available in the openshift-monitoring configmap.

telco-ran/configuration/source-crs/cluster-tuning/monitoring-configuration/ReduceMonitoringFootprint.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ data:
3030
name: observability-alertmanager-accessor
3131
scheme: https
3232
staticConfigs:
33-
- {{ if (lookup "v1" "Namespace" "" "open-cluster-management-addon-observability") }}{{hub index (lookup "cluster.open-cluster-management.io/v1" "ManagedCluster" "" .ManagedClusterName).metadata.annotations "acm-alertmanager-route" hub}}{{ end }}
33+
{{ if (lookup "v1" "Namespace" "" "open-cluster-management-addon-observability") }}{{hub $route := index (lookup "cluster.open-cluster-management.io/v1" "ManagedCluster" "" .ManagedClusterName).metadata.annotations "acm-alertmanager-route" hub}}{{hub if $route hub}}- {{hub $route hub}}{{hub else hub}}MISSING-ACM-ALERTMANAGER-ROUTE-ANNOTATION{{hub end hub}}{{ end }}
3434
tlsConfig:
3535
ca:
3636
key: service-ca.crt
@@ -39,3 +39,6 @@ data:
3939
externalLabels:
4040
managed_cluster: {{ fromClusterClaim "id.openshift.io" }}
4141
retention: 24h
42+
43+
# RAN Observability configuration
44+
# As a prerequisite for merging RAN Observability configuration with openshift-monitoring, apply the observabilityRoutePolicy on the HUB from the telco-hub required reference-crs. This is needed to copy the alert-manager URL from the hub side open-cluster-management-observability namespace and make it available in the openshift-monitoring configmap.

0 commit comments

Comments
 (0)