dcgm-exporter
dcgm-exporter copied to clipboard
Why SYS_ADMIN is required?
Recently, I found dcgm-exporter will enconter a runtime error: FATA[0000] Failed to watch metrics: Error watching fields: Host engine is running as non-root. And adding --cap-add=SYS_ADMIN with docker run or SYS_ADMIN in yaml can step over the error. I wonder what specific operation causes the issue?
The error was found in below scenarios with dcgm-exporter 3.6.0 without SYS_ADMIN
| Device | Driver Version | CUDA Version |
|---|---|---|
| NVIDIA A30 | 535.54.03 | 12.2 |
| NVIDIA L2 | 535.154.05 | 12.2 |
Related issue is 402
Is there any updates? I just wanna know latest dcgm-exporter version still needs SYS_ADMIN
This requirement is still inherited from DCGM and would need to be addressed there.