@@ -64,6 +64,10 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
64
64
]
65
65
}` ,
66
66
wantPlugins : map [string ][]config.Plugin {
67
+ "PreFilterPlugin" : {
68
+ {Name : "NodeResourcesFit" },
69
+ {Name : "NodePorts" },
70
+ },
67
71
"FilterPlugin" : {
68
72
{Name : "NodeUnschedulable" },
69
73
{Name : "NodeResourcesFit" },
@@ -118,6 +122,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
118
122
),
119
123
wantPlugins : map [string ][]config.Plugin {
120
124
"PreFilterPlugin" : {
125
+ {Name : "NodeResourcesFit" },
121
126
{Name : "ServiceAffinity" },
122
127
},
123
128
"FilterPlugin" : {
@@ -164,6 +169,8 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
164
169
wantPredicates : sets .NewString (),
165
170
wantPlugins : map [string ][]config.Plugin {
166
171
"PreFilterPlugin" : {
172
+ {Name : "NodePorts" },
173
+ {Name : "NodeResourcesFit" },
167
174
{Name : "ServiceAffinity" },
168
175
},
169
176
"FilterPlugin" : {
@@ -219,6 +226,8 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
219
226
wantPredicates : sets .NewString (),
220
227
wantPlugins : map [string ][]config.Plugin {
221
228
"PreFilterPlugin" : {
229
+ {Name : "NodePorts" },
230
+ {Name : "NodeResourcesFit" },
222
231
{Name : "ServiceAffinity" },
223
232
},
224
233
"FilterPlugin" : {
@@ -283,6 +292,8 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
283
292
wantPredicates : sets .NewString (),
284
293
wantPlugins : map [string ][]config.Plugin {
285
294
"PreFilterPlugin" : {
295
+ {Name : "NodePorts" },
296
+ {Name : "NodeResourcesFit" },
286
297
{Name : "ServiceAffinity" },
287
298
{Name : "InterPodAffinity" },
288
299
},
@@ -351,6 +362,8 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
351
362
wantPredicates : sets .NewString (),
352
363
wantPlugins : map [string ][]config.Plugin {
353
364
"PreFilterPlugin" : {
365
+ {Name : "NodePorts" },
366
+ {Name : "NodeResourcesFit" },
354
367
{Name : "ServiceAffinity" },
355
368
{Name : "InterPodAffinity" },
356
369
},
@@ -430,6 +443,8 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
430
443
wantPredicates : sets .NewString (),
431
444
wantPlugins : map [string ][]config.Plugin {
432
445
"PreFilterPlugin" : {
446
+ {Name : "NodePorts" },
447
+ {Name : "NodeResourcesFit" },
433
448
{Name : "ServiceAffinity" },
434
449
{Name : "InterPodAffinity" },
435
450
},
@@ -520,6 +535,8 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
520
535
wantPredicates : sets .NewString (),
521
536
wantPlugins : map [string ][]config.Plugin {
522
537
"PreFilterPlugin" : {
538
+ {Name : "NodePorts" },
539
+ {Name : "NodeResourcesFit" },
523
540
{Name : "ServiceAffinity" },
524
541
{Name : "InterPodAffinity" },
525
542
},
@@ -611,6 +628,8 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
611
628
wantPredicates : sets .NewString (),
612
629
wantPlugins : map [string ][]config.Plugin {
613
630
"PreFilterPlugin" : {
631
+ {Name : "NodePorts" },
632
+ {Name : "NodeResourcesFit" },
614
633
{Name : "ServiceAffinity" },
615
634
{Name : "InterPodAffinity" },
616
635
},
@@ -706,6 +725,8 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
706
725
wantPredicates : sets .NewString (),
707
726
wantPlugins : map [string ][]config.Plugin {
708
727
"PreFilterPlugin" : {
728
+ {Name : "NodePorts" },
729
+ {Name : "NodeResourcesFit" },
709
730
{Name : "ServiceAffinity" },
710
731
{Name : "InterPodAffinity" },
711
732
},
@@ -813,6 +834,8 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
813
834
wantPredicates : sets .NewString (),
814
835
wantPlugins : map [string ][]config.Plugin {
815
836
"PreFilterPlugin" : {
837
+ {Name : "NodePorts" },
838
+ {Name : "NodeResourcesFit" },
816
839
{Name : "ServiceAffinity" },
817
840
{Name : "InterPodAffinity" },
818
841
},
@@ -922,6 +945,8 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
922
945
wantPredicates : sets .NewString (),
923
946
wantPlugins : map [string ][]config.Plugin {
924
947
"PreFilterPlugin" : {
948
+ {Name : "NodePorts" },
949
+ {Name : "NodeResourcesFit" },
925
950
{Name : "ServiceAffinity" },
926
951
{Name : "InterPodAffinity" },
927
952
},
@@ -1031,6 +1056,8 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1031
1056
wantPredicates : sets .NewString (),
1032
1057
wantPlugins : map [string ][]config.Plugin {
1033
1058
"PreFilterPlugin" : {
1059
+ {Name : "NodePorts" },
1060
+ {Name : "NodeResourcesFit" },
1034
1061
{Name : "ServiceAffinity" },
1035
1062
{Name : "InterPodAffinity" },
1036
1063
},
@@ -1145,6 +1172,8 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1145
1172
wantPredicates : sets .NewString (),
1146
1173
wantPlugins : map [string ][]config.Plugin {
1147
1174
"PreFilterPlugin" : {
1175
+ {Name : "NodePorts" },
1176
+ {Name : "NodeResourcesFit" },
1148
1177
{Name : "ServiceAffinity" },
1149
1178
{Name : "InterPodAffinity" },
1150
1179
},
0 commit comments