Convert multiple node label predicates to be a single filter plugin.

This commit is contained in:
Abdullah Gharaibeh
2019-11-05 09:38:51 -05:00
parent 3e5f6bdaa4
commit 134baa50b9
7 changed files with 127 additions and 72 deletions

View File

@@ -48,7 +48,7 @@ var (
// BenchmarkScheduling benchmarks the scheduling rate when the cluster has
// various quantities of nodes and scheduled pods.
func BenchmarkScheduling(b *testing.B) {
func BenchmarkSchedulingV(b *testing.B) {
tests := []struct{ nodes, existingPods, minPods int }{
{nodes: 100, existingPods: 0, minPods: 100},
{nodes: 100, existingPods: 1000, minPods: 100},