Is there a way to report device usage stats to cadvisor for an arbitrary set of devices?

7/22/2019

I am looking for a way to extend cadvisor to support SRIOV virtual functions that I already have stats for, but that I want to see conflated with cadvisor. Is there a way to add new devices and their stats to cadvisor?

I wrote a device plugin that works with the k8s scheduler. I can pass out the devices as a resource, and they are returned when a container exits. That works fine. Now I want to track the known request/response counters in kubernetes. But how? Or, what is the best way to do so?

Incidentally: the SRIOV devices perform random number generation and math related operations.

-- user3109016
cadvisor
kubernetes

0 Answers