k8s-fpga-device-plugin
修改说明
源项目地址为https://github.com/Xilinx/FPGA_as_a_Service/tree/master/k8s-fpga-device-plugin
主要修改的地方:
- 原先resource的格式为xilinx.com/fpga-xilinx_u200_xdma_201830_1-1542252769,带有型号等信息,修改为不带型号信息xilinx.com/fpga(类似nvidia.com/gpu)
- 修改Dockerfile,增加编译部分
About
The Xilinx FPGA device plugin for Kubernetes is a Daemonset deployed on the Kubernetes(k8s) cluster which allows you to:
- Discover the FPGAs inserted in each node of the cluster and expose information about FPGA such as number of FPGA, Shell (Target Platform) type and etc.
- Run FPGA accessible containers in the k8s cluster
If you already have an docker and kubernetes environment, you can follow the Quick Start to test k8s-fpga-device-plugin on your own cluster.
You can check the Full Tutorial if you want to build docker, kuberetes cluster environment and test k8s-fpga-device-plugin from the beginning.
For detailed information about k8s-fpga-device-plugin, Docker and Kubernetes, you can renferece following links:
Prerequisites
- All FPGAs have the Shell(Target Platform) flashed already.
- XRT(version is no older than 2018.3) installed on all worker nodes where there are FPGA(s) inserted
- Container runtime in k8s is docker
- k8s version >= 1.17 (all tests have been running with version 1.17. Old version may or may not work)
Contact
Email: k8s_dev@xilinx.com