:book: solutions: add workload-aware topology gang scheduling #1840
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.37) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 229 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.325
Real PR Conversation Timeline
1 comments
"Review active on #1840"
general
weight: 0.35
kannon92
<!--
Thanks for creating a pull request!
If this is your first time, please make sure to review CONTRIBUTING.MD.
Please copy the appropriate
:text:or icon to the beginning of your PR title::sparkles: ✨ feature
:bug: 🐛 bug fix
:book: 📖 docs
:memo: 📝 proposal
:warning: ⚠️ breaking change
:seedling: 🌱 other/misc
:question: ❓ requires manual review/categorization
-->
Summary
Add a solution that pairs OCM Placement with Kubernetes v1.37 Workload Aware Scheduling so topology-constrained gangs only land on clusters that can satisfy them.
A gang PodGroup with a topology key stays Pending forever on a cluster whose nodes lack that label. Publishing each spoke's node topology as ManagedCluster labels lets the hub filter clusters up front, while the spoke kube-scheduler places every pod of the gang in one domain.
The demo covers JobSet v0.13 (rack and zone gangs), plain batch/v1 Jobs via the WorkloadWithJob gate, and LeaderWorkerSet v1.0, with kind configs for a rack-labeled and a zone-labeled spoke, setup/demo/cleanup scripts, and work-agent RBAC for JobSet and LWS.
Related issue(s)
Fixes #
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
New Features
Added a runnable walkthrough for scheduling JobSets, Jobs, and LeaderWorkerSets across clusters, with rack- and zone-based placement and workload status feedback.
Added setup and cleanup scripts for the demo environment, plus sample cluster configurations and deployment scenarios.
Documentation
* Added a guide covering prerequisites, environment setup, demo scenarios, behavior when topology labels are unavailable, adapting the examples to other clusters, and cleanup.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->