kubernetes/plugin/pkg/scheduler/algorithm/predicates
Kubernetes Submit Queue f2f107124b Merge pull request #37691 from dshulyak/term_selector
Automatic merge from submit-queue (batch tested with PRs 38377, 36365, 36648, 37691, 38339)

Do not create selector and namespaces in a loop where possible

With 1000 nodes and 5000 pods (5 pods per node) with anti-affinity a lot of CPU wasted on creating LabelSelector and sets.String (map). 

With this change we are able to deploy that number of pods in ~25 minutes. Without - it takes 30 minutes to deploy 500 pods with anti-affinity configured.
2016-12-08 10:52:01 -08:00
..
BUILD refactor: generated 2016-12-03 19:10:46 -05:00
error.go plugin/scheduler 2016-11-23 15:53:09 -08:00
metadata.go [scheduler] Use V(10) for anything which may be O(N*P) logging 2016-11-28 10:31:49 -05:00
predicates_test.go plugin/scheduler 2016-11-23 15:53:09 -08:00
predicates.go Merge pull request #37691 from dshulyak/term_selector 2016-12-08 10:52:01 -08:00
utils_test.go plugin/scheduler 2016-11-23 15:53:09 -08:00
utils.go plugin/scheduler 2016-11-23 15:53:09 -08:00