diff --git a/pkg/config/config.go b/pkg/config/config.go index 6e0cf39f27..556797352b 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -118,7 +118,7 @@ func newConfig() *Config { Metrics: getMetricsConfig(), Redfish: getRedfishConfig(), Libvirt: getLibvirtConfig(), - DCGMHostEngineEndpoint: getConfig("DCGM_HOST_ENGINE_ENDPOINT", ""), + DCGMHostEngineEndpoint: getConfig("NVIDIA_HOSTENGINE_ENDPOINT", defaultDCGMHostEngineEndpoint), KernelVersion: float32(0), } } diff --git a/pkg/config/types.go b/pkg/config/types.go index 961ef1ddc0..e19ca5c7d5 100644 --- a/pkg/config/types.go +++ b/pkg/config/types.go @@ -103,4 +103,5 @@ const ( defaultProcessPlatformPowerKey = "PROCESS_TOTAL" defaultProcessComponentsPowerKey = "PROCESS_COMPONENTS" DefaultMachineSpecFilePath = "/etc/kepler/models/machine/spec.json" + defaultDCGMHostEngineEndpoint = "localhost:5555" )