[Backport v1.32] [FX-1133] Detect Nebius and default kubelet.tlsVerify to false #3733
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 · 472 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.368
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.069
Real PR Conversation Timeline
1 comments
"Review active on #3733"
general
weight: 0.35
levan-m
Backport 24ca8f78a90d8214d6b73ccd4a6bfe4d56f37a64 from #3722.
___
What does this PR do?
Adds a
nebiuscluster provider, auto-detected from the nodes, and defaults the node Agent'skubelet.tlsVerifytofalseon it, the same way theopenshiftprovider does.pkg/kubernetes/provider.go): a node whosespec.providerIDstarts withnebius://(the Nebius cloud controller setsnebius://computeinstance-<id>) resolves tonebius. It is checked last, after Talos and the label-derived providers, because it identifies the infrastructure rather than the distribution; an OpenShift or Talos cluster running on Nebius keeps its own provider.pkg/config/config.go): the Node transform now keepsSpec.ProviderID, for the same reason it keepsStatus.NodeInfo.OSImagefor Talos: the detector's node-list fallback reads from that cache.defaults.DefaultProviderSpecificConfig): onnebius,global.kubelet.tlsVerifydefaults tofalseviaDefaultBooleanIfUnset. An explicit user value (true or false) always wins. Other providers are unchanged: the field stays unset and noDD_KUBELET_TLS_VERIFYis emitted.docs/providers.md): detection and supported-provider rows added.As with every detected provider, users can opt out with
agent.datadoghq.com/cluster-provider: defaulton theDatadogAgent.Motivation
On Nebius Managed Kubernetes the kubelet serving certificate isn't signed by a CA the Agent trusts, so node Agents crashloop unless
kubelet.tlsVerify: falseis set. The Agent also takes its hostname from the kubelet, so this fixes hostname resolution too; noDD_HOSTNAMEis needed (confirmed on a live cluster).Managed Cloud Instrumentation installs the Operator in managed-install mode on Nebius, where the DatadogAgent spec is pinned and can't carry this override. Today it works around this with its own Linux
DatadogAgentProfile, which blocks customers' own profiles. Container Platform suggested detecting Nebius from a node attribute in the Operator instead: Slack thread.Additional Notes
The
nebiusprovider only changes this one default. It has no provider-capability or feature-support entries, so all features behave as ondefault.Minimum Agent Versions
None.
Describe your test plan
Unit tests:
pkg/kubernetes:nebius://providerID detectsnebius; other clouds' providerIDs and a look-alikenebiusfoo://prefix don't; OpenShift labels and a TalososImagetake precedence; node-list detection finds a Nebius node.pkg/introspection: the detector resolvesnebiusfrom both the Operator's own node and the node-list fallback.pkg/config: the Node cache transform keepsSpec.ProviderIDfor introspection, profiles and the untaint controller.defaults: onnebius, unset defaults tofalse; an explicittrueorfalseis preserved.go test ./...andmake lintpass locally.On a Nebius cluster: deploy a
DatadogAgentwithoutkubelet.tlsVerify, then check thatstatus.clusterProviderisnebius, that the node Agent hasDD_KUBELET_TLS_VERIFY=false, and that it is healthy. Then setkubelet.tlsVerify: trueand check that the env var follows the user's value.Checklist
bug,enhancement,refactoring,documentation,tooling, and/ordependenciesqa/skip-qalabel[1]: https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits
🤖 Generated with Claude Code