Skip to content

Restore system-probe DSD socket volumeMount#3001

Merged
tbavelier merged 1 commit into
mainfrom
tbavelier/restore-system-probe-dsd-mount
May 12, 2026
Merged

Restore system-probe DSD socket volumeMount#3001
tbavelier merged 1 commit into
mainfrom
tbavelier/restore-system-probe-dsd-mount

Conversation

@tbavelier
Copy link
Copy Markdown
Member

@tbavelier tbavelier commented May 11, 2026

What does this PR do?

See title

Motivation

system-probe needs DSD socket to write metrics to it (was removed in #2985) when direct mode is enabled (no security-agent)

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

Staging

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)

@tbavelier tbavelier added this to the v1.27.0 milestone May 11, 2026
@tbavelier tbavelier requested a review from a team May 11, 2026 15:58
@tbavelier tbavelier added bug Something isn't working qa/skip-qa labels May 11, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c7cba80522

ℹ️ About Codex in GitHub

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".

common.GetVolumeMountForProc(),
common.GetVolumeMountForRunPath(),
common.GetVolumeMountForTmp(),
common.GetVolumeMountForDogstatsdSocket(false),
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Strip dsdsocket from system-probe on Autopilot

When the Autopilot annotation is enabled and system-probe is present (for example with the current default image where service discovery auto-enables it), this new default mount leaves the DaemonSet invalid: applyExperimentalAutopilotOverrides removes the dsdsocket volume from the pod and only strips that mount from core/trace/process containers, not system-probe. The resulting system-probe container references a volume that no longer exists, so Kubernetes rejects the pod template with a missing volumeMount volume.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's fine, autopilot is being reworked in #2983 so related code will be updated accordingly

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 11, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 40.76%. Comparing base (bed889f) to head (c7cba80).

Files with missing lines Patch % Lines
...controller/datadogagent/component/agent/default.go 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3001      +/-   ##
==========================================
- Coverage   40.76%   40.76%   -0.01%     
==========================================
  Files         332      332              
  Lines       28197    28198       +1     
==========================================
  Hits        11494    11494              
- Misses      15928    15929       +1     
  Partials      775      775              
Flag Coverage Δ
unittests 40.76% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...controller/datadogagent/component/agent/default.go 44.15% <0.00%> (-0.07%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bed889f...c7cba80. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@datadog-prod-us1-6

This comment has been minimized.

@tbavelier tbavelier merged commit a580b06 into main May 12, 2026
50 of 51 checks passed
@tbavelier tbavelier deleted the tbavelier/restore-system-probe-dsd-mount branch May 12, 2026 12:51
Mathew-Estafanous pushed a commit that referenced this pull request May 12, 2026
(cherry picked from commit a580b06)

Co-authored-by: Timothée Bavelier <97530782+tbavelier@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants