"oc adm top" commands fail with "error: metrics not available yet" in OCP 4
Issue
-
The
oc adm top
commands fail witherror: metrics not available yet
when allopenshift-monitoring
pods areRunning
:$ oc adm top node error: metrics not available yet
$ oc adm top pods error: metrics not available yet
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.5
- 4.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.