appuio / appuio-cloud-reporting

Reporting for APPUiO Cloud
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Add node label as class for compute queries #90

Closed bastjan closed 1 year ago

bastjan commented 1 year ago

In the end every user schedulable node should have label:

# Exoscale
appuio.io/node-class: standard
appuio.io/node-class: gpu
# Cloudscale
appuio.io/node-class: plus
appuio.io/node-class: flex

Correctness

Testing with kubernetes.io/arch (all labels same value) and kubernetes.io/hostname.

Performance

Performance takes a hit. Average query goes from ~11 seconds to ~20. Does not really matter to where the node label is moved.

Checklist