estevaobk / 3scaledump

Unofficial tool for dumping a Red Hat 3scale On-premises project
2 stars 6 forks source link

Fetch all the nodes information through 'oc describe node' #15

Closed estevaobk closed 5 years ago

estevaobk commented 5 years ago

The following documentation mentions the commands oc adm top nodes and oc adm top node --selector='':

https://docs.openshift.com/container-platform/3.11/admin_guide/manage_nodes.html#viewing-nodes

However, these don't seem to work (tested with the latest 3.11 release).

We could optionally do the following:

Execute oc get node and then for every node returned by this command, oc describe node <NODE>.

This is similar to what is already being done in node.txt, but will be applied to all nodes instead of only the currently running one.

estevaobk commented 5 years ago

Addressed on https://github.com/estevaobk/3scaledump/commit/49dfc64d549c10e90c1b77c26f69c6f942bc054d (Directory: /status/nodes and their respective files under /status)