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.5.2. Verifying an OpenShift Container Platform monitoring installation for use with Knative Serving
Manual configuration for monitoring by an administrator is not required, but you can carry out these steps to verify that monitoring is installed correctly.
Procedure
Verify that the ServiceMonitor objects are deployed.
oc get servicemonitor -n knative-serving
$ oc get servicemonitor -n knative-serving NAME AGE activator 11m autoscaler 11m controller 11m
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Verify that the
openshift.io/cluster-monitoring=true
label has been added to the Knative Serving namespace:oc get namespace knative-serving --show-labels
$ oc get namespace knative-serving --show-labels NAME STATUS AGE LABELS knative-serving Active 4d istio-injection=enabled,openshift.io/cluster-monitoring=true,serving.knative.dev/release=v0.7.0
Copy to Clipboard Copied! Toggle word wrap Toggle overflow