Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable GPU SRIOV in KubeVirt pod? #102

Open
SGShen opened this issue Jul 27, 2023 · 1 comment
Open

How to enable GPU SRIOV in KubeVirt pod? #102

SGShen opened this issue Jul 27, 2023 · 1 comment
Labels
enhancement New feature or request gpu Intel GPU

Comments

@SGShen
Copy link

SGShen commented Jul 27, 2023

There are use cases like Windows Cloud Gaming that may run in VM (KubeVirt). At the same time, vGPU (SRIOV) may be needed as well to support multiple instances of the workload.

Is there a BKM to enable GPU SRIOV in KubeVirt for Intel dGPU (Flex 140 or 170)?

@tkatila
Copy link

tkatila commented Jul 31, 2023

We don't currently have a way to configure SR-IOV via GPU plugin. That would have to be done manually unfortunately. When SR-IOV is configured, the gpu.intel.com/i915 resource could be leveraged in the KubeVirt's VirtualMachineInstance. Though, Intel GPU plugin considers all the GPUs as same. Meaning, if you have a mix of configurations (some with SR-IOV, some not) requesting an i915 resource could get you either one.

Proper SR-IOV support is coming later via DRA.

@hershpa hershpa added the gpu Intel GPU label Aug 8, 2023
@hershpa hershpa added the enhancement New feature or request label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gpu Intel GPU
Projects
None yet
Development

No branches or pull requests

3 participants