containers / nri-plugins

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

[podresapi 2/3] resmgr,agent: generate topology hints from Pod Resource API. #419

Open klihub opened 2 days ago

klihub commented 2 days ago

This patch series

Pod Resource API queries are triggered asynchronously during pod creation/handling RunPodSandbox NRI events. Container creation waits for any pending queries (with a short timeout) then generates extra topology hints if the results contain devices with declared NUMA-locality. The existing device allow-/deny-annotations can be used to explicitly allow or deny topology hints corresponding to Pod Resource API hints.

klihub commented 1 day ago

/cc @pfl