gpu-operator icon indicating copy to clipboard operation
gpu-operator copied to clipboard

Make kubelet path configurable in dcgm-exporter

Open aishwaryaraimule21 opened this issue 1 year ago • 1 comments

Currently, the path to the kubelet socket for /pod-resources is hardcoded for dcgm-exporters to /var/lib/kubelet/pod-resources here.

We have a usecase where Kubelet root dir is /abc and the pod-resources socket path needs to be configured to something like /abc/var/lib/kubelet/pod-resources. Is it possible to make it configurable via Helm? Is there any other way to configure it?

aishwaryaraimule21 avatar Jun 10 '24 08:06 aishwaryaraimule21

@aishwaryaraimule21 This is not possible today. With that said, we recently added a hostPaths struct to our API for configuring various host file-paths https://github.com/NVIDIA/gpu-operator/blob/main/deployments/gpu-operator/values.yaml#L23. Adding a new hostPaths.kubeletRootDir field may be a reasonable addition. If you are willing to work on this, contributions are welcome.

cdesiniotis avatar Jul 11 '24 23:07 cdesiniotis

This issue is stale because it has been open 90 days with no activity. This issue will be closed in 30 days unless new comments are made or the stale label is removed. To skip these checks, apply the "lifecycle/frozen" label.

github-actions[bot] avatar Nov 04 '25 22:11 github-actions[bot]