[operator] Add config value for KSM sharding #3625
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.69) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.69 · 456 lines diff across 5 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.366
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.069
Real PR Conversation Timeline
1 comments
"Review active on #3625"
general
weight: 0.35
AlexanderYastrebov
What does this PR do?
Adds a KSM configuration to enable KSM sharding.
Motivation
Provide the option for large clusters to improve the scalability of the KSM check.
Minimum Agent Versions
Are there minimum versions of the Datadog Agent and/or Cluster Agent required?
Describe your test plan
Sharding enabled, cluster check runners enabled
<details>
<summary> Supporting configuration </summary>
</details>
<details>
<summary> Proof</summary>
</details>
Outcome:
PASSthere are 3 separate check instances scheduled.Sharding enabled, cluster check runners enabled, image < 7.83
<details>
<summary> Supporting configuration </summary>
</details>
<details>
<summary> Proof</summary>
</details>
Outcome:
PASSthere is only one KSM check instance scheduled and the operator's logs include the configuration error.Sharding enabled, cluster check runners disabled
<details>
<summary> Supporting configuration </summary>
</details>
<details>
<summary> Proof</summary>
</details>
Outcome:
PASSthere is single KSM check instance running on the cluster agent and the operator's logs include the configuration error.Checklist
bug,enhancement,refactoring,documentation,tooling, and/ordependenciesqa/skip-qalabel[1]: https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits