NVIDIA / dcgm-exporter

NVIDIA GPU metrics exporter for Prometheus leveraging DCGM
Apache License 2.0
864 stars 153 forks source link

dcgm-exporter log: No Kubelet socket, ignoring #362

Closed jeffreyyjp closed 2 months ago

jeffreyyjp commented 2 months ago

What is the version?

3.3.6-3.4.2

What happened?

After deployed dcgm-exporter as a daemonset, I checked any pod log, and it shows No Kubelet socket, ignoring

What did you expect to happen?

The logs are clean

What is the GPU model?

image

What is the environment?

in k8s cluster

How did you deploy the dcgm-exporter and what is the configuration?

I use helm, from the project deploy folder

How to reproduce the issue?

After deploy it, check any pod log

Anything else we need to know?

No response

hive74 commented 2 months ago

in values.yaml

kubeletPath: "/path/to/your/kubelet/pod-resources"
jeffreyyjp commented 2 months ago

@hive74 I used the default value for this:

# Path to the kubelet socket for /pod-resources
kubeletPath: "/var/lib/kubelet/pod-resources"