Add experimental kube checks runner default group support #3526
All Vouch review confidence checks passed
Residual risk 0.43 = Change Risk (0.73) × (1 − Review Confidence (0.41)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.73 · 396 lines diff across 4 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.358
Shallow Review Depth
shallow_review_depth
0.344
Sensitive Paths
sensitive_paths
0.073
Real PR Conversation Timeline
1 comments
"Review active on #3526"
general
weight: 0.35
Mathew-Estafanous
What
Adds experimental cluster check runner groups: dedicated runner Deployments that own a set of cluster checks, so heavy checks like KSM core can be isolated from node agents and the general runners.
agent.datadoghq.com/experimental-cluster-checks-runner-groups: a JSON list of groups (name,checksInclude, optionaloverride). Each group becomes its own runner Deployment.agent.datadoghq.com/experimental-kube-checks-runner-default: "true": adds a built-inkubegroup (KSM core and the orchestrator check, 2 replicas). It works even withuseClusterChecksRunnersoff, in which case node agents keep running the other cluster checks. Declaring your ownkubegroup replaces the built-in one.The operator passes the group definitions to the Cluster Agent (
DD_CLUSTER_CHECKS_RUNNER_GROUPS, a JSON list such as[{"name":"kube","checks":["kubernetes_state_core","orchestrator"]}], matching the agent'scluster_checks.runner_groupsfrom DataDog/datadog-agent#57079) and gives each group's pods their group name (DD_CLC_RUNNER_GROUP). The Cluster Agent then only sends claimed checks to their group. Changing a group only rolls the Cluster Agent, never the node agents.Groups are validated (unique names, non-empty
checksInclude, no check claimed twice); an invalid annotation is ignored and logged. Component-leveloverride.clusterChecksRunneralso applies to group Deployments.Runner groups need Agent 7.86 or later (the first release supporting them, DataDog/datadog-agent#57079) on both the Cluster Agent and the runners. With an older Cluster Agent, groups are ignored; a group whose runner image is older is skipped. Either way it's logged, and the affected checks keep running as before. Images whose version can't be parsed (e.g.
latest) are assumed recent enough.This is experimental and configured through annotations only: no CRD changes and no compatibility guarantees.
Example
This creates a
kubeand anhttprunner Deployment next to the general runners, and sets:DD_CLUSTER_CHECKS_RUNNER_GROUPS=[{"name":"kube","checks":["kubernetes_state_core","orchestrator"]},{"name":"http","checks":["http_check"]}]DD_CLC_RUNNER_GROUP=kubeorDD_CLC_RUNNER_GROUP=httpTesting
Agent side: DataDog/datadog-agent#57079 (merged)