kube-reporting / metering-operator

The Metering Operator is responsible for collecting metrics and other information about what's happening in a Kubernetes cluster, and providing a way to create reports on the collected data.
Apache License 2.0
339 stars 90 forks source link

single query to determine metering readiness? #749

Open newgoliath opened 5 years ago

newgoliath commented 5 years ago

https://github.com/operator-framework/operator-metering/blob/master/Documentation/manual-olm-install.md

These are great docs! I'd like a feature for automation:

In addition, I'd like to be able to oc get <resource> -o jsonpath --template='{.spec.status.<something>}' -n openshift-metering to be able to test that the whole metering and reporting system is deployed OK.

Anything already in these pods or other resources?

chancez commented 5 years ago

Generally if the reporting-operator pod itself is ready; that's a good indication. It's readiness probe queries presto which should ensure most other components are ready.

The MeteringConfig resource's status would be a good option in the future once we begin managing it's status more directly.