Closed sthaha closed 11 months ago
@vimalk78 @vprashar2929 to make the validation easier, I have pushed a bundle created from this PR to
quay.io/sthaha/kepler-operator-bundle:0.0.0-dev
./tmp/bin/operator-sdk run bundle quay.io/sthaha/kepler-operator-bundle:0.0.0-dev --install-mode AllNamespaces --namespace openshift-operators --skip-tls
This commit improves the rendering of dashboards by taking advantage of Prometheus recording rules to pre-compute queries which may otherwise take too much memory (resulting in Prometheus OOM crash) or time for the query to execute.
The Operator deploy a
PrometheusRule
resource which pre-computes queries used in openshift dashboards.