Create custom Prometheus rules for user-defined namespaces
Issue
- How to create
custom Prometheus rules
with the help of default rules? - The rules defined in
openshift-monitoring
project only monitors the default cluster projects and not theuser-defined projects
. - How to create new rules that will be similar to the ones provided in prometheus-k8s-rules rule-file which would be applicable to the user-defined projects in addition to the default ones?
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.