mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Add log to see the extender's error
This commit is contained in:
parent
76cdb57ccf
commit
ed23e2162a
@ -464,6 +464,7 @@ func prioritizeNodes(
|
||||
prioritizedList, weight, err := extenders[extIndex].Prioritize(pod, nodes)
|
||||
if err != nil {
|
||||
// Prioritization errors from extender can be ignored, let k8s/other extenders determine the priorities
|
||||
klog.InfoS("The extender returns an error. The scheduler ignore this error and will continue to schedule the Pod", "error", err, "pod", klog.KObj(pod), "extender", extenders[extIndex].Name())
|
||||
return
|
||||
}
|
||||
mu.Lock()
|
||||
|
Loading…
Reference in New Issue
Block a user