← Back to Pull requests

Publish standard NUMA node list attribute #1261

Closed
unknown closed this pull request without merging on Aug 10, 2026 18:48 UTC
View on GitHub
unknown unknown commented on Jul 20, 2026 11:44 UTC
Author

Use Kubernetes DRA deviceattribute helpers to publish resource.kubernetes.io/numaNode for full GPUs, MIG devices, and VFIO devices. Select scalar versus list form from DRAListTypeAttributes.

<!-- Thanks for sending a pull request! See CONTRIBUTING.md for guidelines. -->

What type of PR is this?

<!--
Add one of the following kinds:
/kind bug
/kind cleanup
/kind dependency
/kind documentation
/kind feature
-->
/kind feature

What this PR does / why we need it:


This PR allows publishing a SLIT list of NUMA nodes for GPU resourceslices published by the driver. This enabled matching by NUMA node on more complex compute trays - e.g. GB200 - where the GPU NUMA Node does not exactly match the CPU / NIC NUMA Node.

Which issue(s) this PR is related to:


<!--
Use "Fixes #<issue number>" to auto-close the issue on merge.
Write "N/A" if there is no associated issue.
-->

Fixes #1242

Special notes for your reviewer:

Does this PR introduce a user-facing change?


<!--
Write "NONE" if there is no user-facing change.
Otherwise, describe the change for driver users / cluster admins. Examples:
  • new or changed CLI flags on the kubelet-plugin / controller

  • changes to DeviceClass, ResourceClaim, or CRD shapes

  • behavior changes for MIG, time-slicing, IMEX, or sharing modes

  • deployment/Helm chart changes (values, defaults, RBAC)

  • Include "action required" if users must change configs or manifests when upgrading.
    -->
    ``release-note
    ResourceSlices now report same-socket numa node list when feature gate DRAListTypeAttributes is enabled.
    
    #### Additional documentation (design docs, usage docs, etc.):
    
    <!--
    Link any supporting docs, e.g.:
    - updates under site/content/ (design, MIG, IMEX, sharing, etc.)
    - README or demo/ updates
    - related KEPs in kubernetes/enhancements
    Use permalinks (commit SHA) rather than branch links so references stay stable.
    -->
    
    docs

    `

    Checklist

    <!-- Tick what applies; leave others unchecked. CI re-runs some of these, but catching them locally shortens the review loop. -->

  • make check test passes locally

  • make check-generate passes if api/ changed (CRDs, deepcopy, informers, listers, clientset)

  • make check-modules passes if go.mod / go.sum changed

  • Tests added or updated for the change

  • Helm chart (deployments/helm`) updated if flags, RBAC, or defaults changed
  • Diff: 305 lines (+228 / -77) across 3 files Reviewer: killianmuldoon Review duration: 30664m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 305 lines diff across 3 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.342
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1261"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 40.2% (MEDIUM) · Higher = larger blast radius
    40.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 15.9% · Safe to merge
    15.9%