The latest kubernetes deployment on Arm64 VM-s always fails.
Because k8s always get num_cores=0 from cAdvisor on Arm64 VM-s.
The reason is that, there is no cache info on Arm64 VM-s.
And the good news is that, we can get cache info on Arm64 hosts.
When this patch was merged, I will deliver a patch to update the version
of cAdvisor in kubernetes as soon as possible.
Signed-off-by: bblu <bin.lu@arm.com>
* Move sysfs related functions needed to get nodes' information and tests into utils/sysfs
* Add tests for sysfs related functions
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
Type can be one of "none", "noop", "deadline", "cfq".
For block devices that don't use scheduler (like dm), the type will be "none".
We'll also report "none" for partitions when we start reporting those.