How to get the node names for the pods in oc adm top pods listing on OpenShift?

Solution Verified - Updated -

Issue

  • When running oc adm top pods -A the output does not show information relative to the node the pod is running on. Is it possible to retrieve this information through the command line?

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.

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