docs: add Kueue and HAMi vGPU quota lab#608
Conversation
Signed-off-by: lixd <xueduan.li@gmail.com>
✅ Deploy Preview for project-hami ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: lixd The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Warning Review limit reached
Next review available in: 37 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthrough新增实验 9,演示 HAMi DRA vGPU 切片与 Kueue 配额转换、队列准入和超额 Job 挂起,并补充 Kubernetes 示例清单、导航、标签及实验概览内容。 ChangesHAMi vGPU 队列实验
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant User
participant HAMi DRA
participant Kueue
participant Kubernetes Scheduler
User->>HAMi DRA: Submit vGPU workload
HAMi DRA->>Kueue: Expose vGPU resource request
Kueue->>Kueue: Transform memory and core requests into quota usage
Kueue->>Kubernetes Scheduler: Admit workloads within quota
Kubernetes Scheduler->>HAMi DRA: Create and schedule admitted Pods
Kueue-->>User: Keep excess workload Suspended
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
End of linkinator summary. sirv non-2xx/3xx responses: |
Signed-off-by: lixd <xueduan.li@gmail.com>
|
thx! why is it chinese? |
Quota - 配额 |
What changed
ResourceTransformationrules for total vGPU memory and compute accountingWhy
This turns a community-tested Kueue and HAMi vGPU walkthrough into a reproducible HAMi hands-on lab with captured outputs, explicit quota evidence, cleanup steps, and reusable manifests. It demonstrates how to enforce vGPU count, memory, and compute quotas before Pods reach normal scheduling.
Important review notes
v1beta2configuration andResourceTransformationsyntax are version-specific and are called out explicitly in the labnvidia.com/gpu,nvidia.com/gpumem, andnvidia.com/gpucores, while the HAMi webhook creates the underlying DRA claimValidation
sidebars-tutorials.jswithnode --checkAI assistance
Codex helped restructure and translate the author's existing, independently verified experiment into the HAMi Lab format. The technical commands, environment details, and captured Kubernetes outputs originate from the author's real test environment.
Summary by CodeRabbit