Azure kubernetes - Prometheus accessing the application secured with Azure AD

9/14/2020

I am trying to implement Prometheus for my application hosted on Azure kubernetes. Currently the application does not have any authentication enabled, Prometheus is working fine.

However I would be enabling the Azure AD authentication to protect the application. In this case, would it break the Prometheus metric collection?

-- One Developer
azure
azure-active-directory
azure-aks
kubernetes
prometheus

1 Answer

9/14/2020

However I would be enabling the Azure AD authentication to protect the application. In this case, would it break the Prometheus metric collection?

This depends on how the application is implemented.

It is not common to add authentication also to the metrics endpoint. But sometimes the metrics endpoint is served on another port, e.g. Management Server Port for Spring Boot.

-- Jonas
Source: StackOverflow