Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cmd/device-plugin/nvidia/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,8 @@ func startPlugins(c *cli.Context, flags []cli.Flag, restarting bool) ([]plugin.I
}

if started == 0 {
klog.Info("No devices found. Waiting indefinitely.")
klog.Info("No devices found. Retrying in 30s...")
return plugins, true, nil
}

return plugins, false, nil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ func NewNVMLResourceManagers(nvmllib nvml.Interface, config *nvidia.DeviceConfig
nvml: nvmllib,
}
r.rescanInterval = 30 * time.Second
r.lastRescan = time.Now()
rms = append(rms, r)
}

Expand Down
Loading