-
Notifications
You must be signed in to change notification settings - Fork 1k
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 #1696
Add PodResources mount #1696
Conversation
ed36907
to
32a9f70
Compare
32a9f70
to
45c5f7d
Compare
@@ -207,6 +207,8 @@ | |||
- name: DD_OTELCOLLECTOR_ENABLED | |||
value: "true" | |||
{{- end }} | |||
- name: DD_KUBERNETES_KUBELET_PODRESOURCES_SOCKET | |||
value: {{ printf "%s/kubelet.sock" .Values.datadog.kubelet.podResourcesSocket | quote }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall looks good, just wondering if there's ever a chance the socket will not be called kubelet.sock
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From what I've seen, it seems to be hardcoded in the k8s code.
/merge |
View all feedbacks in Devflow UI.
The median merge time in
|
This reverts commit 146a161.
What this PR does / why we need it:
Adds a mount to expose the PodResources kubelet API in the agent container. This will allow us to retrieve allocated resources for running pods, which is necessary for GPU monitoring (#1681).
Which issue this PR fixes
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged)Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
.github/helm-docs.sh
)CHANGELOG.md
has been updatedREADME.md
make update-test-baselines
)