← Back to Pull requests

Use ddot-ebpf image for Host Profiler #3622

Merged
mackjmr merged 5 files (56 lines) on Nov 26, 2026 15:11 UTC
View on GitHub
mackjmr mackjmr commented on Oct 19, 2026 12:43 UTC
Author

What does this PR do?

Note that ddot-ebpf will only release in version X.86. Making the PR now but should only be merged once we update image to X.86, which should be in v1.33.0 (which I am setting as milestone).

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

Minimum Agent Versions

Are there minimum versions of the Datadog Agent and/or Cluster Agent required?

Agent: vX.Y.Z
Cluster Agent: vX.Y.Z

Describe your test plan

Write there any instructions and details you may have to test your PR.

Checklist

  • PR has at least one valid label: bug, enhancement, refactoring, documentation, tooling, and/or dependencies

  • PR has a milestone or the qa/skip-qa label

  • All commits are signed (see: [signing commits][1])
  • [1]: https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits

    Diff: 56 lines (+53 / -3) across 5 files Reviewer: levan-m Review duration: 54867m
    All Vouch review confidence checks passed
    Residual risk 0.05 = Change Risk (0.33) × (1 − Review Confidence (0.85)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.33 · 56 lines diff across 5 files
    0.33
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.78 · 5 substantive comment(s)
    0.78
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    84%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.242
    Real PR Conversation Timeline
    16 items
    chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] commented on Oct 19, 2026 12:44 UTC
    Bot

    <!-- codex-pull-request-review-summary -->
    <!-- codex-review-state:v1 {"code_review":{"commit_sha":"89a7d06b49a8989d4e8d00a15324f06fe405817c","has_any_findings":true,"has_unresolved_findings":true,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} -->

    Codex Review Summary

    This comment shows the latest Codex review activity on this pull request.

    | Review | Status | Commit | Review trigger |
    | --- | --- | --- | --- |
    | 📝 Code Review | ✅ Completed <relative-time datetime="2026-10-19T12:46:22.803832Z">2026-10-19T12:46:22.803832Z</relative-time> | 89a7d06 | PR opened |

    <details> <summary>ℹ️ About Codex in GitHub</summary>
    <br/>

    Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review

  • Mark a draft as ready

  • Comment "@codex review" or "@codex security review".
  • Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

    </details>

    chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] commented on Oct 19, 2026 12:46 UTC
    Reviewer

    <!-- codex-review-receipt:v1 -->

    💡 Codex Review

    Here are some automated review suggestions for this pull request.

    Reviewed commit: 89a7d06b49

    <details> <summary>ℹ️ About Codex in GitHub</summary>
    <br/>

    Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review

  • Mark a draft as ready

  • Comment "@codex review".
  • If Codex has suggestions, it will comment; otherwise it will react with 👍.

    Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

    </details>

    chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] commented on code on Oct 19, 2026 12:46 UTC
    Code Review
    pkg/images/images.go:1
    @@ -21,6 +21,8 @@ const (
     	ClusterAgentLatestVersion = "7.84.1"
     	// DdotCollectorLatestVersion corresponds to the latest stable ddot-collector release
     	DdotCollectorLatestVersion = "7.84.1"
    +	// HostProfilerLatestVersion corresponds to the latest ddot-ebpf release used by the host profiler
    +	HostProfilerLatestVersion = "7.84.1"

    <sub><sub>!P1 Badge</sub></sub> Use a published ddot-ebpf version

    When Host Profiler is enabled without an experimental image override, this value makes both the profiler and its seccomp setup init container pull registry.datadoghq.com/ddot-ebpf:7.84.1. The commit description states that ddot-ebpf will only be released starting with 7.86, so this tag is unavailable and affected node-agent pods remain in ImagePullBackOff. Delay the image switch or set this to a published ddot-ebpf version.

    Useful? React with 👍 / 👎.

    <!-- codex-code-review-finding:v1 -->

    datadog-datadog-prod-us1-2[bot] datadog-datadog-prod-us1-2[bot] commented on Oct 19, 2026 12:54 UTC
    Bot

    <a target='_blank' href='https://app.datadoghq.com/ci/code-coverage/github.com%2Fdatadog%2Fdatadog-operator/pull-requests/3622'><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/code-coverage-ok.svg"/><img src="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/code-coverage-ok-light.svg" alt="Code Coverage" align="center" /></picture></a>

    🎯 Code Coverage (<a target='_blank' href='https://app.datadoghq.com/ci/code-coverage/github.com%2Fdatadog%2Fdatadog-operator/pull-requests/3622'>details</a>)<br>• <strong><span title="Percentage of modified executable lines covered by tests in this PR">Patch Coverage</span></strong>: 100.00%<br>• <strong><span title="Percentage of all executable lines covered by tests in the entire codebase">Overall Coverage</span></strong>: 59.40% <span title="Change in overall coverage compared to the base branch">(+0.01%)</span><br>

    <sub>
    This comment will be updated automatically if new data arrives. <br />
    🔗 Commit SHA: 1f59129 | <a href="https://docs.datadoghq.com/integrations/guide/source-code-integration/#pr-comments">Docs</a> | <a href="https://app.datadoghq.com/ci/pull-request/Z2l0aHViLmNvbS9kYXRhZG9nL2RhdGFkb2ctb3BlcmF0b3IvMzYyMg==?referrer=pr-comment">View more details</a> | Give us <a href="https://dd.enterprise.slack.com/archives/C07E3U2QRMM">feedback</a>!
    </sub>

    theomagellan theomagellan commented on code on Nov 17, 2026 12:44 UTC
    Code Review
    pkg/images/images.go:1
    @@ -21,6 +21,8 @@ const (
     	ClusterAgentLatestVersion = "7.84.1"
     	// DdotCollectorLatestVersion corresponds to the latest stable ddot-collector release
     	DdotCollectorLatestVersion = "7.84.1"
    +	// HostProfilerLatestVersion corresponds to the latest ddot-ebpf release used by the host profiler
    +	HostProfilerLatestVersion = "7.84.1"

    sounds plausible?

    theomagellan theomagellan commented on Nov 17, 2026 12:48 UTC
    Contributor

    Should we also add a CRD spec field to pin a version?
    From my understanding the only way to do so would be through annotations; is this the common pattern?

    mackjmr mackjmr commented on code on Nov 17, 2026 12:50 UTC
    Code Review
    pkg/images/images.go:1
    @@ -21,6 +21,8 @@ const (
     	ClusterAgentLatestVersion = "7.84.1"
     	// DdotCollectorLatestVersion corresponds to the latest stable ddot-collector release
     	DdotCollectorLatestVersion = "7.84.1"
    +	// HostProfilerLatestVersion corresponds to the latest ddot-ebpf release used by the host profiler
    +	HostProfilerLatestVersion = "7.84.1"

    Yes this is just a placeholder until 7.86 is added in operator, I will then rebase and update the host profiler value

    mackjmr mackjmr commented on Nov 17, 2026 12:51 UTC
    Author

    Should we also add a CRD spec field to pin a version?

    From my understanding the only way to do so would be through annotations; is this the common pattern?

    You can override the image tag for all agents in agent overrides settings. Now if you want to do this on a per container basis, then the annotation is the right way to do this currently (until they graduate the annotation to the CRD).

    levan-m levan-m commented on code on Nov 20, 2026 21:43 UTC
    Code Review
    internal/controller/datadogagent/global/global_test.go:1
    @@ -1484,6 +1484,20 @@ func Test_ValidateFIPSVersions(t *testing.T) {
     			},
     			wantErrors: 1,
     		},
    +		{
    +			name: "error: ddot-ebpf with fips",

    Is assumption that fips users don't use host profiler?

    levan-m levan-m commented on Nov 20, 2026 21:56 UTC
    Contributor

    @mackjmr,
    I have few concerns about the change, with the caveat that I don't know how many customer use HP and how the change is getting communicated:
    Can you confirm HP isn't available for fips users?
    Are customers with private registries notified to mirror the new image?

  • Setups where annotation is used to override tag only will resolve to ddot-ebpf:tag even for older version.
  • mackjmr mackjmr commented on Nov 23, 2026 12:37 UTC
    Author

    @levan-m

    Can you confirm HP isn't available for fips users?

    Yes, we don't have a fips image yet but we will support it at some point.

    Are customers with private registries notified to mirror the new image?

    Customers are already using image repo ddot-ebpf, see our instructions for preview docs: https://github.com/DataDog/datadog-agent/blob/main/cmd/host-profiler/deploy/bundled/operator.md?plain=1#L23. That said, they use a preview image tag. Host Profiler is GAing in agent 7.86, which is why we are now defaulting to tag 7.86. We will update our docs to remove the experimental annotation once this is done. If you think it is useful to call out the new image tag, perhaps we could explicitely mention it in the docs ?

    Setups where annotation is used to override tag only will resolve to ddot-ebpf:tag even for older version.

    Not sure to understand this point ?
    So setting something like experimental.agent.datadoghq.com/image-override-config would only override the image tag, not the repo/ registry ?

    mackjmr mackjmr commented on code on Nov 23, 2026 12:38 UTC
    Code Review
    internal/controller/datadogagent/global/global_test.go:1
    @@ -1484,6 +1484,20 @@ func Test_ValidateFIPSVersions(t *testing.T) {
     			},
     			wantErrors: 1,
     		},
    +		{
    +			name: "error: ddot-ebpf with fips",

    yes, we dont support fips yet.

    levan-m levan-m commented on Nov 24, 2026 21:25 UTC
    Contributor

    Discussed ^^ offline. PR won't break existing Agent deployments on Operator upgrade. For annotation-based config, user has to supply both image and tag. So deployment with default agent image for HP and/or FIPS enabled would be broken even before upgrade.

    levan-m levan-m approved these changes on Nov 24, 2026 21:25 UTC
    Approved Reviewer

    Approved these changes.

    theomagellan theomagellan approved these changes on Nov 26, 2026 15:10 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    mackjmr mackjmr
    Labels
    risk: low confidence: 84.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 33% (LOW) · Higher = larger blast radius
    33%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 84.7% · Lower = rushed or shallow review
    84.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 5.1% · Safe to merge
    5.1%