The command $ oc adm top nodes doesnt show some nodes in its output

Solution Verified - Updated -

Issue

  • The command adm top node shows incorrect data. Node compute2.hostname.example.com is missing from the output .
$ oc adm top node

NAME                          CPU(cores)   CPU%      MEMORY(bytes)   MEMORY%   
infra1.hostname.example.com    435m         21%       5007Mi          64%       
infra2.hostname.example.com    464m         23%       2816Mi          36%       
infra3.hostname.example.com    395m         19%       2595Mi          33%       
master1.hostname.example.com   840m         21%       5435Mi          34%       
master2.hostname.example.com   469m         11%       5363Mi          33%       
master3.hostname.example.com   861m         21%       6862Mi          43%       
compute1.hostname.example.com  1885m        94%       4399Mi          56%  

  • Node compute2.hostname.example.com is a part of the cluster and can be seen from mentioned command output.
$ oc get nodes 

NAME                            STATUS  ROLES     AGE       VERSION
master1.hostname.example.com    Ready   master    22d       v1.11.0+d4cacc0
master2.hostname.example.com    Ready   master    22d       v1.11.0+d4cacc0
master3.hostname.example.com    Ready   master    22d       v1.11.0+d4cacc0
infra1.hostname.example.com     Ready   infra     22d       v1.11.0+d4cacc0
infra2.hostname.example.com     Ready   infra     22d       v1.11.0+d4cacc0
infra3.hostname.example.com     Ready   infra     22d       v1.11.0+d4cacc0
compute1.hostname.example.com   Ready   compute   22d       v1.11.0+d4cacc0
compute2.hostname.example.com   Ready   compute   22d       v1.11.0+d4cacc0

Environment

  • Red Hat Openshift Container Platform 3.9

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