GitHub user li-liwen added a comment to the discussion: GPU passthrough support 
in KVM

@rajujith Thanks for answering! I have tried the method and got GPU Passthrough 
working. Cheers!

However, I do need some sort of orchestration. For example, I have four 4090 
GPUs on one machine, and I would like to provide different compute offerings 
with one, two or all four GPUs. If a user tries to deploy a new instance (or 
scale from the old one) when not enough GPUs are available, the hook script 
will fail and the instance will go to Error state, which requires administrator 
operation. The desired behavior is to let CloudStack know how many GPU 
available in some way, and prevent trying to deploy instance that cannot fit.

Is there any recommended way to do this? Should I let the Groovy hook script 
interact with CloudStack management sql database directly? Or should I modify 
the GPU offering in the CloudStack UI somehow?

Many thanks for helping me and to every contributor of this project.

GitHub link: 
https://github.com/apache/cloudstack/discussions/10155#discussioncomment-11726204

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to