oc adm top command returns error: Metrics not available

Solution Verified - Updated -

Issue

  • Running the oc adm top command returns the error "Metrics not available."
  • The logs from the prometheus-k8s pods in the openshift-monitoring project indicate write errors due to read-only filesystem issues.
  • The node running the prometheus pod logs errors related to backend storage credential.

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content