Skip to content

feat: add deviceplugin, webhook#2

Merged
vsoch merged 1 commit into
mainfrom
add-device-plugin
Jun 6, 2026
Merged

feat: add deviceplugin, webhook#2
vsoch merged 1 commit into
mainfrom
add-device-plugin

Conversation

@vsoch

@vsoch vsoch commented Jun 6, 2026

Copy link
Copy Markdown
Member

This adds full support for scheduling and running the quantum workload. We do this by allowing addition of custom resource types to fluxion, and in this case, the qpu. These are countable resources that can be thus returned "YES" by a node-level device plugin. I am choosing this approach over DRA for the time being because I want the user to be able to define fluxion type resources in the resource spec and not have to define DeviceClass or ResourceClaim that I still find annoying and clunky. To handle the backend, we add an envar in a webhook before pod creation to expect the envar via an annotation, and that is added in prebind. This was just tested with a quantum pod and vanilla podgroup and works great! Super cool.

This adds full support for scheduling and running the quantum workload.
We do this by allowing addition of custom resource types to fluxion,
and in this case, the qpu. These are countable resources that can
be thus returned "YES" by a node-level device plugin. I am choosing
this approach over DRA for the time being because I want the user to be
able to define fluxion type resources in the resource spec and
not have to define DeviceClass or ResourceClaim that I still find
annoying and clunky. To handle the backend, we add an envar in a webhook
before pod creation to expect the envar via an annotation, and that
is added in prebind. This was just tested with a quantum pod and
vanilla podgroup and works great! Super cool.

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
@vsoch vsoch merged commit ce15230 into main Jun 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant