Commit Graph

9 Commits

Author SHA1 Message Date
Mikko Ylinen
1d41852013 qat: mount VFIO devices for topology hints to work
Previously, /dev/vfio/xx devices were just arbitrary strings and the
plugin did not need the devices for anything. After adding the checks
for topology hints, we need to read the devices attached to those so
the device nodes must be bind mounted in the plugin container.

Moreover, be more verbose about any errors coming from the topology code.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-03-02 08:13:09 +02:00
Ed Bartosh
3f83e2b2eb Copy toplogogy module from cri-resource-manager
Copied topology module to avoid external dependency.
Added GetTopologyInfo function and its test case.
2020-02-11 12:06:25 +02:00
Ed Bartosh
b03812c281 Send topology info to kubelet
Get topology information for the discovered devices
and send it to kubelet.

Fixes: #250
2020-02-10 13:45:34 +02:00
Ed Bartosh
1f4928790f Implement function for DeviceInfo creation
- Made DeviceInfo fields private
- Implement NewDeviceInfo constructor
2020-02-07 15:26:37 +02:00
Dmitry Rozhkov
814e2e1a50 bump k8s dependencies up to v1.17.0 2020-01-09 11:19:58 +02:00
Paul Hodson
5279dace40 server.Stop() shuts down the socket rather than restarting it. 2019-06-21 11:32:06 -04:00
Dmitry Rozhkov
fef6763927 deviceplugin: fix duplicate device nodes in ContainerResponse
The variable which gets assigned a value from a list element on every
loop iteration is always the same. Getting a pointer to this variable
results in the same pointer on every iteration.

Rather get a pointer to the actual element of the list.
2019-04-04 15:47:01 +03:00
Dmitry Rozhkov
92f6a547cb Add doc on how to develop new device plugins 2019-02-06 09:56:51 +02:00
Dmitry Rozhkov
54332c5eea announce deviceplugin API public 2019-01-21 17:20:01 +02:00