Add KAI Scheduler experimental feature #3691
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 222 lines diff across 2 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.323
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3691"
general
weight: 0.35
levan-m
What does this PR do?
Adds experimental KAI Scheduler support, enabled with the
agent.datadoghq.com/kai-scheduler-enabled: "true"annotation (no CRD change, seedocs/kai_scheduler.md):DD_CLUSTER_AGENT_KAI_SCHEDULER_ENABLED), which tags pods with their KAI workload and queue, and grants itlist/watchonpodgroups.scheduling.run.ai.features.gpu.enabledand Agent 7.86+: setsDD_GPU_KAI_SCHEDULER_ENABLEDon the node Agent, which maps KAI fractional GPUs to the containers using them.Motivation
Jira: AXT-139
Using the KAI Scheduler support today means adding the Cluster Agent env var and writing the PodGroup RBAC by hand. Behind an annotation while in preview, like Kueue (#3711).
Additional Notes
kai_schedulercheck scrapes plain HTTP Services, needs no RBAC, and is configured as a cluster check (see its README).Minimum Agent Versions
Agent: v7.86.0
Cluster Agent: v7.86.0
Describe your test plan
Unit tests added: annotation absent or not
true, Cluster Agent too old, prerelease image, node Agent too old, with and without GPU monitoring.Checklist
bug,enhancement,refactoring,documentation,tooling, and/ordependenciesqa/skip-qalabel[1]: https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits
[AXT-139]: https://datadoghq.atlassian.net/browse/AXT-139?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ