mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #44727 from x1957/master
Automatic merge from submit-queue adds log when gpuManager.start() failed If gpuManager.start() returns error, there is no log. We confused with scheduler do not schedule any pod(with gpu) to one node. kubectl describe node xxx shows there is no gpu on that node, because the gpu driver do not work on that node, gpuManager.start() failed, but we can not see anything in log.
This commit is contained in:
commit
f4fc4be805
@ -1176,7 +1176,9 @@ func (kl *Kubelet) initializeModules() error {
|
||||
}
|
||||
|
||||
// Step 7: Initialize GPUs
|
||||
kl.gpuManager.Start()
|
||||
if err := kl.gpuManager.Start(); err != nil {
|
||||
glog.Errorf("Failed to start gpuManager %v", err)
|
||||
}
|
||||
|
||||
// Step 8: Start resource analyzer
|
||||
kl.resourceAnalyzer.Start()
|
||||
|
Loading…
Reference in New Issue
Block a user