-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add numaid and cpus into PodResources interface
This change necessary for resource with topology exporting daemon, which used in topology aware scheduling. Information about CPU is keeping in cpu_ids, since it's enough to represent both quantity and numaid. NUMAid can be obtained from cadvisor MachineInfo, since id in cpus_ids is a thread_id. This API doesn't provide cpu fraction, since it could be obtainded from Pod's request/limits and in case of non-integer CPU quantity and non-guaranteed QoS cpu assigned is not exclusive and NUMA id is not interesting. Signed-off-by: Alexey Perevalov <alexey.perevalov@huawei.com>
- Loading branch information
1 parent
3b6b4eb
commit c7a613e
Showing
1 changed file
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters