CCI-MOC / openshift-usage-scripts

0 stars 4 forks source link

Gather any additional node data like system name or pci device ids if available. #55

Closed naved001 closed 6 months ago

naved001 commented 6 months ago

I have now started collecting the system name (e.g. ThinkSystem XYZ) and the openshift node name (e.g. wrk-92).

I looked into collecting any useful PCI device ID related information, but didn't find anything useful. Some of the labels were:

label_feature_node_kubernetes_io_pci_0200_15b3_present #mellanox
label_feature_node_kubernetes_io_pci_0300_102b_present #matrox
label_feature_node_kubernetes_io_pci_0302_10de_present #nvidia FX5800?
label_feature_node_kubernetes_io_pci_0200_14e4_present #broadcom

and these just return true if present, otherwise nothing. We don't have a use of these anyway, so I've ignored these for now.