nlopez / k8s_home

Kubernetes
48 stars 6 forks source link

does your prometheus folder deploy a fully functional prometheus ? #12

Closed evanrich closed 4 years ago

evanrich commented 4 years ago

quick question, does your prometheus operator deployment deploy a fully working prometheus instance that picks up "servicemonitors" automatically? new to prometheus-operator, wondering if i can use this in place of my current config.

Thanks!

nlopez commented 4 years ago

Hey @evanrich ! Yes it does pick up ServiceMonitors automatically. This bit of config makes the Prom operator look for SMs in all namespaces, and here is a sample SM in another namespace (media).