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.2. Datasources for Knative Serving metering
The following ReportDataSources
are examples of how Knative Serving can be used with OpenShift Container Platform metering.
6.2.1. Datasource for CPU usage in Knative Serving リンクのコピーリンクがクリップボードにコピーされました!
This datasource provides the accumulated CPU seconds used per Knative service over the report time period.
YAML file
6.2.2. Datasource for memory usage in Knative Serving リンクのコピーリンクがクリップボードにコピーされました!
This datasource provides the average memory consumption per Knative service over the report time period.
YAML file
6.2.3. Applying Datasources for Knative Serving metering リンクのコピーリンクがクリップボードにコピーされました!
You can apply the ReportDataSources
by using the following command:
oc apply -f <datasource-name>.yaml
$ oc apply -f <datasource-name>.yaml
Example
oc apply -f knative-service-memory-usage.yaml
$ oc apply -f knative-service-memory-usage.yaml