Skip to content

dev: real-GPU kind cluster with DRA passthrough - #179

Closed
ShubyM wants to merge 1 commit into
gke-labs:mainfrom
ShubyM:feat/kind-gpu-cluster
Closed

dev: real-GPU kind cluster with DRA passthrough#179
ShubyM wants to merge 1 commit into
gke-labs:mainfrom
ShubyM:feat/kind-gpu-cluster

Conversation

@ShubyM

@ShubyM ShubyM commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

One command turns a Linux box with NVIDIA GPUs into a single-node Kubernetes cluster whose GPUs are real, allocatable DRA devices — the same gpu.nvidia.com DeviceClass and ResourceSlices a production DRA cluster publishes, with no cloud cluster involved.

  • hack/kind/kind-up.sh — idempotent: creates the openrl-gpu kind cluster (k8s 1.34, DRA GA) with host GPUs passed through via nvidia-container-toolkit volume-mount device injection, installs the NVIDIA DRA driver, waits for the DeviceClass. Preflight checks with offered fixes.
  • hack/kind/bootstrap.sh — provisions a fresh Ubuntu VM from nothing (docker, kind, kubectl, helm, nvidia-container-toolkit, uv).
  • docs/setup/kind-gpu-cluster.md — how the passthrough works and the fidelity caveats.

Deliberately self-contained: no manifests, no workloads, no opinions about what runs on it. Anything that consumes DRA (#178's scheduler, the FFT stack, plain ResourceClaim experiments) can be developed against it.

Verified on a g2-standard-24 (2× L4): cluster up, both GPUs visible in the node, DeviceClass registered, claims allocated by the real driver.

🤖 Generated with Claude Code

One command turns a Linux box with NVIDIA GPUs into a single-node
cluster whose GPUs are real, allocatable DRA devices -- the same
gpu.nvidia.com DeviceClass and ResourceSlices a production DRA cluster
publishes. hack/kind/kind-up.sh is idempotent with preflight checks and
offered fixes (nvidia runtime as docker default, volume-mount device
injection); bootstrap.sh provisions a fresh Ubuntu VM from nothing.

Self-contained: no manifests, no workloads, no opinions about what runs
on it. Anything that consumes DRA can be developed against it.
@ShubyM ShubyM closed this Aug 13, 2026
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