-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PodResources mount to agent #1650
Conversation
9d61da1
to
b9e0baf
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1650 +/- ##
==========================================
+ Coverage 49.17% 49.25% +0.08%
==========================================
Files 218 218
Lines 21033 21069 +36
==========================================
+ Hits 10342 10378 +36
Misses 10150 10150
Partials 541 541
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
/merge |
Devflow running:
|
What does this PR do?
This PR adds the mount for the PodResources socket.
Motivation
The pod resources API is necessary for correctly assigning pods to GPU devices in GPU monitoring.
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?
Describe your test plan
Tested locally by deploying the operator in a cluster, deploying an agent with default settings and ensuring that:
/var/lib/kubelet/pod-resources/kubelet.sock
DD_KUBERNETES_KUBELET_POD_RESOURCES_SOCKET
is correctly set to/var/lib/kubelet/pod-resources/kubelet.sock
.Checklist
bug
,enhancement
,refactoring
,documentation
,tooling
, and/ordependencies
qa/skip-qa
label