The prometheusRule
custom resource definition (CRD) defines [alerting](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/) and [recording](https://prometheus.io/docs/prometheus/latest/configuration/recording_rules/) rules to be evaluated by prometheus
or ThanosRuler
objects.
prometheus
and ThanosRuler
objects select prometheusRule
objects using label and namespace selectors.