containers / nri-plugins

A collection of community maintained NRI plugins
https://containers.github.io/nri-plugins/
Apache License 2.0
68 stars 25 forks source link

[podresapi 3/3] topology-aware: use Pod Resource API hints if present. #420

Closed klihub closed 6 days ago

klihub commented 1 week ago

This patch series adds handling for extra topology hints acquired from the kubelet's Pod Resource API. If any such hints are found, they are fully resolved (from NUMA-only hints to cpuset-specific ones), before taken into account.

klihub commented 1 week ago

/cc @pfl

klihub commented 1 week ago

Since NodeResourceTopology can be disabled as well, should we extend this line to check if the NodeResourceTopology=true?

Let's leave that for another PR. There are a few other similar things we could then take care of in the same PR, for instance not updating policy metrics if their collection is not enabled.