helm install a kube-prometheus-stack to make prometheus can find your own ServiceMonitor you need a "release: promethus" label #1361
Unanswered
omezro
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
trust me, it`s necessary to add a label "release: prometheus" to let prometheus find your ServiceMonitor . even if your values.yaml in
kube-prometheus-stack has a config like "serviceMonitorSelector: {}" and it says:
ServiceMonitors to be selected for target discovery.
If {}, select all ServiceMonitors
you can see svc prometheus with yaml, it likes:

Beta Was this translation helpful? Give feedback.
All reactions