Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can kubernetes shared single GPU between pods?

Tags:

kubernetes

gpu

Is there a possibility to share a single GPU between kubernetes pods ?

like image 284
Gofrane Haj Ahmed Avatar asked Jan 08 '19 12:01

Gofrane Haj Ahmed


2 Answers

Yes, you can use nano gpu for sharing gpu of nvidia.

like image 192
Tardis Xu Avatar answered Oct 07 '22 19:10

Tardis Xu


Yes, it is possible - at least with Nvidia GPUs.

Just don't specify it in the resource limits/requests. This way containers from all pods will have full access to the GPU as if they were normal processes.

like image 43
Adam Avatar answered Oct 07 '22 18:10

Adam