Kubernetes WAS v1alpha3 improvements (in-place gang resize + PodGroupPremptionPolicy) #5266
All Vouch review confidence checks passed
Residual risk 0.37 = Change Risk (0.69) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.69 · 459 lines diff across 5 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
Diff Size
diff_size
0.367
Shallow Review Depth
shallow_review_depth
0.344
Sensitive Paths
sensitive_paths
0.069
Real PR Conversation Timeline
1 comments
"Review active on #5266"
general
weight: 0.35
machichima
<!-- Thank you for your contribution! -->
<!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. -->
Why are these changes needed?
This PR implements Kubernetes Workload Aware Scheduling added to the
v1alpha3scheduling API in Kubernetes v1.37.New functionality includes:
Related issue number
Part of https://github.com/ray-project/kuberay/issues/4344
Labels
<!-- Please add the appropriate labels to this PR. -->
doc-updates-requiredlabel.breaking-changelabel.Checks
- [x] Unit tests
- [x] Manual tests
- [ ] This PR is not tested :(
<!-- If you selected "Manual tests" above, please fill in the section below. Otherwise you can remove it. -->
Manual test instructions
1. Start a kind cluster with required feature gates
2. Build, load, deploy kuberay operator
3. Create a
NeverPriorityClass4. Deploy a gang-scheduling-enabled ray cluster - start with something like `ray-operator/config/samples/ray-cluster.sample.yaml, name it was-demo.yaml, and add the following label and ProirtyClass to the head and worker pod templates, and apply it
5. inspect the workload and podgroup objects
6. inspect the pod group's premption policy
7. in-place resize the worker group