|
@@ -327,7 +327,7 @@ func (g *genericScheduler) Schedule(pod *v1.Pod, nodeLister algorithm.NodeLister
|
|
}
|
|
}
|
|
|
|
|
|
// Add pod's information (average metrics to the winning nodes metrics) and cache them
|
|
// Add pod's information (average metrics to the winning nodes metrics) and cache them
|
|
- podName := pod.ObjectMeta.Name
|
|
|
|
|
|
+ podName := pod.ObjectMeta.Name[0 : len(pod.ObjectMeta.Name)-19]
|
|
|
|
|
|
for _, n := range socketNodes {
|
|
for _, n := range socketNodes {
|
|
win := n == host
|
|
win := n == host
|