Open
Description
Description
Show a GPU attached to an OpenFaaS function in Kubernetes
Background
We have several users using Python for data-science where GPU acceleration is available. From the investigation I've done so far we should be able to make a few minor changes to faas-netes and then be able to mount a GPU into a function.
Tasks
- List compatible GPUs
- Write some code to mount a GPU
- Produce a short list of steps to document how to test the patches/PR
- Document any specific requirements / limitations
Other notes
GKE has GPUs available pre-configured under Kubernetes - I think this would be the easiest way to test - https://thenewstack.io/getting-started-with-gpus-in-google-kubernetes-engine/
Otherwise you'll need an Nvidia GPU and the process for configuring your kubelet
is not trivial
Documentation page from Kubernetes:
https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/