Generic device plugin for Kubernetes
Introduction
k8s-generic-device-plugin
is a device plugin for Kubernetes to manage resources allocated for containers.
It was forked from RDMA plugin and generalized.
You can specify resources exactly as in ContainerAllocateResponse objects.
It does no checking for the devices' real existence, just serves them to Kubernetes deviceplugin.
For examples, check samples/.
Quick Start
Build
$ go get -d .
$ go build .
Use it
- Run device plugin daemon process
# ./k8s-generic-device-plugin <resource-config.yaml>