Add RC and container pors to scheduler benchmark

This commit is contained in:
Wojciech Tyczynski
2016-04-19 15:03:48 +02:00
parent 8c170ff5ff
commit a4b3f47347
5 changed files with 56 additions and 49 deletions

View File

@@ -42,7 +42,6 @@ func NewNodeAffinityPriority(nodeLister algorithm.NodeLister) algorithm.Priority
// the node satisfies and the more the preferredSchedulingTerm that is satisfied weights, the higher
// score the node gets.
func (s *NodeAffinity) CalculateNodeAffinityPriority(pod *api.Pod, nodeNameToInfo map[string]*schedulercache.NodeInfo, nodeLister algorithm.NodeLister) (schedulerapi.HostPriorityList, error) {
var maxCount int
counts := map[string]int{}