cancel
Showing results for 
Search instead for 
Did you mean: 
Arturo1
Cadet
Cadet
  • 1,010 Views

OpenShift 3.11 Prometheus for apps

I'd like to understand how prometheus operator works and how to customize deployment for my needs.

I've decided to use custom prometheus instance base on the operator for apps ? ( is it good approach ? )

Next, I've decided to locate ServiceMonitors in applications namespaces to keep it together with projects. ( is it a good approach ? )


And when I put ServiceMonitor to application namespace Prometheus operator is unable to create prometheus configuration ( no endpoint appears in service discovery, no targets ). How to diagnose this ? What permissions should I set to PrometheusOperator for ServiceMonitor in application namespace? Should I deploy operator with additional container args?

 

Thanks for the help,

Regards,
Arturo

Labels (3)
0 Kudos
0 Replies
Join the discussion
You must log in to join this conversation.