Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 843 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 843 Bytes

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>