This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.6.4. Metering reports for Knative Serving
You can run metering reports against Knative Serving by creating Report
resources. Before you run a report, you must modify the input parameter within the Report
resource to specify the start and end dates of the reporting period.
YAML file
6.4.1. Running a metering report リンクのコピーリンクがクリップボードにコピーされました!
Once you have provided the input parameters, you can run the report using the command:
oc apply -f <report-name>.yml
$ oc apply -f <report-name>.yml
You can then check the report as shown in the following example:
kubectl get report
$ kubectl get report
NAME QUERY SCHEDULE RUNNING FAILED LAST REPORT TIME AGE
knative-service-cpu-usage knative-service-cpu-usage Finished 2019-06-30T23:59:59Z 10h