Skip to content

Add compute domain DRA plugin skeleton#154

Merged
enoodle merged 2 commits intomainfrom
erez/compute-domain-dra-plugin-skeleton
Jan 13, 2026
Merged

Add compute domain DRA plugin skeleton#154
enoodle merged 2 commits intomainfrom
erez/compute-domain-dra-plugin-skeleton

Conversation

@enoodle
Copy link
Contributor

@enoodle enoodle commented Jan 12, 2026

Summary

This PR adds the basic skeleton for a compute domain DRA (Dynamic Resource Allocation) plugin. The plugin can register with kubelet and publish resource slices, but does not yet implement actual device preparation.

Changes

  • New component: compute-domain-dra-plugin
  • Entry point (cmd/compute-domain-dra-plugin/main.go): Uses AppRunner pattern
  • App configuration (app.go): Handles configuration, logging, and plugin lifecycle
  • Device discovery (discovery.go): Enumerates fake compute domain devices
  • Driver skeleton (driver.go): Implements DRA driver interface with stubbed Prepare/Unprepare
  • Helm templates: DaemonSet, ServiceAccount, ClusterRole, ClusterRoleBinding, DeviceClass
  • Dockerfile: Build stage for the new component

What this PR does NOT include

Testing

  • Unit tests for device discovery
  • Linting passes
  • Build succeeds

Add the infrastructure for a compute domain DRA plugin that registers
with kubelet, publishes resource slices for channel devices, but does
not yet implement actual device preparation (Prepare/Unprepare are stubs).

This includes:
- cmd/compute-domain-dra-plugin entry point
- internal/compute-domain-dra-plugin with app, driver, and discovery logic
- Helm templates for DaemonSet, RBAC, and DeviceClass
- Dockerfile and Makefile updates
@enoodle enoodle merged commit b943629 into main Jan 13, 2026
4 of 5 checks passed
@enoodle enoodle deleted the erez/compute-domain-dra-plugin-skeleton branch January 13, 2026 23:08
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.

2 participants