Skip to content

Commit 3be35b5

Browse files
authored
gpu: add missing volume mount to the operator (#20786)
* Update mounts * Remove redundant feature
1 parent b393c1a commit 3be35b5

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

gpu/README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,15 @@ spec:
192192
features:
193193
gpu:
194194
enabled: true
195-
# for operator versions 1.14.x and 1.15.x add this section
195+
# For operator versions below 1.18, add this section
196196
override:
197197
nodeAgent:
198+
volumes:
199+
# Add this volume for operator version below 1.18, unless other system-probe features
200+
# such as npm, cws, usm or oom_kill are enabled.
201+
- name: debugfs
202+
hostPath:
203+
path: /sys/kernel/debug
198204
containers:
199205
agent:
200206
env:
@@ -204,6 +210,13 @@ spec:
204210
# add this env var, if using operator versions 1.14.x or 1.15.x
205211
- name: DD_COLLECT_GPU_TAGS
206212
value: "true"
213+
system-probe:
214+
volumeMounts:
215+
# Add this volume for operator version below 1.18, unless other system-probe features
216+
# such as Cloud Network Monitoring, Cloud Workload Security or Universal Service Monitoring
217+
# are enabled.
218+
- name: debugfs
219+
mountPath: /sys/kernel/debug
207220
```
208221

209222
For **mixed environments**, use the [DatadogAgentProfiles (DAP) feature](https://github.com/DataDog/datadog-operator/blob/main/docs/datadog_agent_profiles.md) of the operator, which allows different configurations to be deployed for different nodes. Note that this feature is disabled by default, so it needs to be enabled. For more information, see [Enabling DatadogAgentProfiles](https://github.com/DataDog/datadog-operator/blob/main/docs/datadog_agent_profiles.md#enabling-datadogagentprofiles).
@@ -223,7 +236,9 @@ In summary, the changes that need to be applied to the DatadogAgent manifest are
223236
```yaml
224237
spec:
225238
features:
226-
oomKill: # Only enable this feature if there is nothing else that requires the system-probe container in all Agent pods
239+
oomKill:
240+
# Only enable this feature if there is nothing else that requires the system-probe container in all Agent pods
241+
# Examples of system-probe features are npm, cws, usm
227242
enabled: true
228243
229244
override:

0 commit comments

Comments
 (0)