Can the Managed Identity be used with Azure-Redhat-OpenShift Cluster to collect Prometheus Metrics?

slsbla 11 Reputation points
2022-12-08T16:26:38.077+00:00

Hello,
I want to configure an ARO cluster that is ARC-Enabled to remote-write Prometheus metrics to Azure Monitoring Managed Prometheus .
I have created an Azure Monitoring Workspace and Added a Managed Identity to the ARO Arc enabled Resource group. while granting Roles and permission, I noticed that the documentation only refers to AKS clusters (see : https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/prometheus-remote-write-managed-identity?source=recommendations#grant-aks-cluster-access-to-the-identity).

Even though, the Artical is mentioning that both AKS and Azure-Arc are supported (see: https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/prometheus-remote-write-managed-identity?source=recommendations#cluster-configurations) I m not able to find a documentation for that , the Only thing that I found is regarding the Active Directory method.

Can you share with me the proer way to achieve that (connecting a Prometheus Server from an Arc-enabled (ARO) cluster to the Azure Managed Prometheus ) ?
Thank you.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,800 questions
Azure Red Hat OpenShift
Azure Red Hat OpenShift
An Azure service that provides a flexible, self-service deployment of fully managed OpenShift clusters.
69 questions
Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
321 questions
{count} votes