Commit f4fc4be8 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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.
parents 448f8501 3db1127e
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment