|
@@ -264,7 +264,8 @@ func (g *genericScheduler) Schedule(pod *v1.Pod, nodeLister algorithm.NodeLister
|
|
|
// -----------------------------------------------------
|
|
|
// ------------------START-CUSTOM-----------------------
|
|
|
// -----------------------------------------------------
|
|
|
- trace.Step("Selecting socket")
|
|
|
+ //trace.Step("Selecting socket")
|
|
|
+ klog.Infof("Selecting Socket")
|
|
|
hosts, err := g.selectHostOnWinningSocket(priorityList)
|
|
|
|
|
|
//declare a subset of the snapshot of all available nodes
|
|
@@ -280,7 +281,8 @@ func (g *genericScheduler) Schedule(pod *v1.Pod, nodeLister algorithm.NodeLister
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- trace.Step("Selecting host")
|
|
|
+ //trace.Step("Selecting host")
|
|
|
+ klog.Infof("Selecting host")
|
|
|
nodePrioritizers := []priorities.PriorityConfig{
|
|
|
{
|
|
|
Name: priorities.NodeSelectionPriority,
|
|
@@ -326,6 +328,7 @@ func (g *genericScheduler) Schedule(pod *v1.Pod, nodeLister algorithm.NodeLister
|
|
|
// -----------------------------------------------------
|
|
|
//trace.Step("Selecting host")
|
|
|
|
|
|
+ klog.Infof("Return (generic_scheduler.go)")
|
|
|
return ScheduleResult{
|
|
|
SuggestedHost: host,
|
|
|
EvaluatedNodes: len(filteredNodes) + len(failedPredicateMap),
|