"oc adm top" commands shows "error: metrics not available yet" in OCP 4
Issue
-
After installing the Prometheus Monitoring Stack, the
oc adm top nodes
command showserror: metrics not available yet
. -
Able to see the metrics in Prometheus and Grafana Console/UI, but CLI throws
error: metrics not available yet
error. -
The
PodMetrics
resource is not available.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.