https://github.com/gabrielsvinha/fpga-device-plugin
Field Programmable Gate Array device plugin for Kubernetes.
https://github.com/gabrielsvinha/fpga-device-plugin
device-plugin driver fpga kubelet kubernetes node
Last synced: 19 days ago
JSON representation
Field Programmable Gate Array device plugin for Kubernetes.
- Host: GitHub
- URL: https://github.com/gabrielsvinha/fpga-device-plugin
- Owner: gabrielsvinha
- Created: 2018-06-04T13:08:28.000Z (almost 8 years ago)
- Default Branch: v0.0.1-alpha
- Last Pushed: 2018-06-05T14:29:43.000Z (almost 8 years ago)
- Last Synced: 2025-03-21T15:16:10.342Z (about 1 year ago)
- Topics: device-plugin, driver, fpga, kubelet, kubernetes, node
- Homepage:
- Size: 0 Bytes
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FPGA Device Plugin for Kubernetes
This repository contains a proof of concept of a Field Programmable Gate Array device plugin for kubernetes control.
---
## Running
The standard way to run a device plugin is via a daemonset. In the [manifests](manifests/) folder there are instructions to run this device plugin.
---
## Archtecture
The comportament of a device plugin is as follow:

The FPGA-device-plugin contains following phases:
* **Installation phase**: starts when a device plugin is instantiated. It will detect the presence of the driver and the correct port to communicate with the device.
* **Registration phase**: The device plugin will register to kubelet so that this node is considered when a pod is being scheduled and it requires the specified device.
* **Discovery phase**: The device plugin lists all available devices to kubelet in a routine performing health checks and updating the status in case any changes are made.
* **Allocation phase**: When a container is created with the specified device, the device plugin will allocate the required resources and setup all devices selected.
* **Stop phase**: (Optional)
---