You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To enable the GPU feature in clusters where all the nodes have GPUs, set the `features.gpu.enabled` parameter in the DatadogAgent manifest:
178
184
179
185
```yaml
@@ -185,6 +191,18 @@ spec:
185
191
features:
186
192
gpu:
187
193
enabled: true
194
+
# for operator versions 1.14.x and 1.15.x add this section
195
+
override:
196
+
nodeAgent:
197
+
containers:
198
+
agent:
199
+
env:
200
+
# add this env var, if using operator version 1.14.x
201
+
- name: DD_ENABLE_NVML_DETECTION
202
+
value: "true"
203
+
# add this env var, if using operator versions 1.14.x or 1.15.x
204
+
- name: DD_COLLECT_GPU_TAGS
205
+
value: "true"
188
206
```
189
207
190
208
For **mixed environments**, use the [DatadogAgentProfiles 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. In this case, it is not necessary to modify the DatadogAgent manifest. Instead, create a profile that enables the configuration on GPU nodes only:
@@ -210,6 +228,14 @@ spec:
210
228
env:
211
229
- name: DD_GPU_MONITORING_ENABLED
212
230
value: "true"
231
+
# add this env var, if using operator version 1.14.x
232
+
agent:
233
+
env:
234
+
- name: DD_ENABLE_NVML_DETECTION
235
+
value: "true"
236
+
# add this env var, if using operator versions 1.14.x or 1.15.x
0 commit comments