metering-operator icon indicating copy to clipboard operation
metering-operator copied to clipboard

single query to determine metering readiness?

Open newgoliath opened this issue 6 years ago • 1 comments

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?

newgoliath avatar Jun 13 '19 16:06 newgoliath

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.

chancez avatar Jun 13 '19 17:06 chancez