How to verify the allocated shared memory for pods using the oc client utility

Solution Verified - Updated -

Issue

  • Is it possible to have a view of the allocated shared memory for pods using the oc client utility?
  • The oc adm top pod command only shows the total memory used for each pod:

    $ oc adm top pod
    NAME                    CPU(cores)   MEMORY(bytes)   
    coffee-54bbd499-dsb9h   3m           61Mi            
    coffee-54bbd499-trglb   2m           56Mi            
    tea-996c5969c-2mhj9     3m           65Mi            
    tea-996c5969c-7kjmh     2m           57Mi            
    tea-996c5969c-h4v79     2m           61Mi   
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)

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