Add ai-ml/gke-ray/kueue-concurrent-admission: ephemeral RayJobs with Kueue Concurrent Admission #2149
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 · 309 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.343
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #2149"
general
weight: 0.35
gangli113
Description
This PR adds a new sample under
ai-ml/gke-ray/kueue-concurrent-admissionthat demonstrates how to runephemeral RayJobs across multiple resource flavors using Kueue's Concurrent Admission feature on GKE.
Concurrent Admission lets a
ClusterQueueevaluate multipleResourceFlavors at the same time, so anephemeral RayJob can start on whichever flavor has capacity first (for example, a reservation-backed GPU
node pool or a DWS Flex-Start node pool) instead of waiting on strict flavor ordering. This reduces
RayJob start latency for bursty, short-lived GPU workloads.
These manifests back the user guide
Start RayJobs faster across multiple resource flavors.
Files added
| File | Purpose |
| --- | --- |
|
ai-ml/gke-ray/kueue-concurrent-admission/kueue-setup.yaml| TwoResourceFlavors (reservation-flavor,dws-flex-flavor), aClusterQueuewithconcurrentAdmissionPolicy(migration.mode: TryPreferredFlavors,constraints.lastAcceptableFlavorName: reservation-flavor), and aLocalQueue(user-queue). ||
ai-ml/gke-ray/kueue-concurrent-admission/ephemeral-rayjob.yaml| An ephemeralRayJob(shutdownAfterJobFinishes: true) labeled withkueue.x-k8s.io/queue-name: user-queue, running 3 single-GPU Ray tasks on 3 worker replicas. ||
ai-ml/gke-ray/kueue-concurrent-admission/README.md| Sample overview, manifest descriptions, and quickstart commands. |Notes
Uses the Kueue
kueue.x-k8s.io/v1beta2API, which is required forconcurrentAdmissionPolicy.Queue targeting uses the
kueue.x-k8s.io/queue-namelabel (not an annotation), consistent with #2052.Region tags added:
gke_ai_ml_gke_ray_kueue_concurrent_admission_kueue_setupandgke_ai_ml_gke_ray_kueue_concurrent_admission_ephemeral_rayjob.Tasks
[x] The contributing guide has been read and followed.
[x] The samples added / modified have been fully tested.
[ ] Workflow files have been added / modified, if applicable.
[x] Region tags have been properly added, if new samples.
[x] Editable variables have been used, where applicable.
[x] All dependencies are set to up-to-date versions, as applicable.
[ ] Merge this pull-request for me once it is approved.