Closed woojeonghoon closed 4 years ago
When running with docker
docker run -d --name=netdata \ -p 19999:19999 \ -v /proc:/host/proc:ro \ -v /sys:/host/sys:ro \ -v /var/run/docker.sock:/var/run/docker.sock:ro \ -e PGID=999 \ -e NVIDIA_VISIBLE_DEVICES=all \ -e DO_NOT_TRACK= \ --cap-add SYS_PTRACE \ --security-opt apparmor=unconfined \ d34dc3n73r/netdata-glibc
I was able to see the GPU usage with the command "NVIDIA_VISIBLE_DEVICES=all".
In Kubernetes environment How can I check the GPU status?
GPU monitoring for prometheus as a guide on how to support this:
https://github.com/yahoojapan/gpu-monitoring-exporter
I solved it by correcting the image
When running with docker
docker run -d --name=netdata \ -p 19999:19999 \ -v /proc:/host/proc:ro \ -v /sys:/host/sys:ro \ -v /var/run/docker.sock:/var/run/docker.sock:ro \ -e PGID=999 \ -e NVIDIA_VISIBLE_DEVICES=all \ -e DO_NOT_TRACK= \ --cap-add SYS_PTRACE \ --security-opt apparmor=unconfined \ d34dc3n73r/netdata-glibc
I was able to see the GPU usage with the command "NVIDIA_VISIBLE_DEVICES=all".
In Kubernetes environment How can I check the GPU status?