@@ -108,7 +108,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
108
108
]
109
109
}` ,
110
110
wantPredicates : sets .NewString (
111
- "PodFitsHostPorts" ,
112
111
"TestServiceAffinity" ,
113
112
"TestLabelsPresence" ,
114
113
),
@@ -123,6 +122,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
123
122
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
124
123
"FilterPlugin" : {
125
124
{Name : "NodeName" },
125
+ {Name : "NodePorts" },
126
126
{Name : "NodeAffinity" },
127
127
{Name : "NodeResources" },
128
128
{Name : "VolumeRestrictions" },
@@ -160,7 +160,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
160
160
]
161
161
}` ,
162
162
wantPredicates : sets .NewString (
163
- "PodFitsHostPorts" ,
164
163
"NoVolumeZoneConflict" ,
165
164
"MaxEBSVolumeCount" ,
166
165
"MaxGCEPDVolumeCount" ,
@@ -181,6 +180,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
181
180
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
182
181
"FilterPlugin" : {
183
182
{Name : "NodeName" },
183
+ {Name : "NodePorts" },
184
184
{Name : "NodeAffinity" },
185
185
{Name : "NodeResources" },
186
186
{Name : "VolumeRestrictions" },
@@ -222,7 +222,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
222
222
]
223
223
}` ,
224
224
wantPredicates : sets .NewString (
225
- "PodFitsHostPorts" ,
226
225
"NoVolumeZoneConflict" ,
227
226
"CheckNodeMemoryPressure" ,
228
227
"MaxEBSVolumeCount" ,
@@ -245,6 +244,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
245
244
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
246
245
"FilterPlugin" : {
247
246
{Name : "NodeName" },
247
+ {Name : "NodePorts" },
248
248
{Name : "NodeAffinity" },
249
249
{Name : "NodeResources" },
250
250
{Name : "VolumeRestrictions" },
@@ -291,7 +291,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
291
291
]
292
292
}` ,
293
293
wantPredicates : sets .NewString (
294
- "PodFitsHostPorts" ,
295
294
"NoVolumeZoneConflict" ,
296
295
"CheckNodeMemoryPressure" ,
297
296
"CheckNodeDiskPressure" ,
@@ -317,6 +316,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
317
316
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
318
317
"FilterPlugin" : {
319
318
{Name : "NodeName" },
319
+ {Name : "NodePorts" },
320
320
{Name : "NodeAffinity" },
321
321
{Name : "NodeResources" },
322
322
{Name : "VolumeRestrictions" },
@@ -372,7 +372,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
372
372
}]
373
373
}` ,
374
374
wantPredicates : sets .NewString (
375
- "PodFitsHostPorts" ,
376
375
"NoVolumeZoneConflict" ,
377
376
"CheckNodeMemoryPressure" ,
378
377
"CheckNodeDiskPressure" ,
@@ -398,6 +397,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
398
397
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
399
398
"FilterPlugin" : {
400
399
{Name : "NodeName" },
400
+ {Name : "NodePorts" },
401
401
{Name : "NodeAffinity" },
402
402
{Name : "NodeResources" },
403
403
{Name : "VolumeRestrictions" },
@@ -465,7 +465,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
465
465
}]
466
466
}` ,
467
467
wantPredicates : sets .NewString (
468
- "PodFitsHostPorts" ,
469
468
"NoVolumeZoneConflict" ,
470
469
"CheckNodeMemoryPressure" ,
471
470
"CheckNodeDiskPressure" ,
@@ -492,6 +491,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
492
491
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
493
492
"FilterPlugin" : {
494
493
{Name : "NodeName" },
494
+ {Name : "NodePorts" },
495
495
{Name : "NodeAffinity" },
496
496
{Name : "NodeResources" },
497
497
{Name : "VolumeRestrictions" },
@@ -560,7 +560,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
560
560
}]
561
561
}` ,
562
562
wantPredicates : sets .NewString (
563
- "PodFitsHostPorts" ,
564
563
"NoVolumeZoneConflict" ,
565
564
"CheckNodeMemoryPressure" ,
566
565
"CheckNodeDiskPressure" ,
@@ -587,6 +586,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
587
586
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
588
587
"FilterPlugin" : {
589
588
{Name : "NodeName" },
589
+ {Name : "NodePorts" },
590
590
{Name : "NodeAffinity" },
591
591
{Name : "NodeResources" },
592
592
{Name : "VolumeRestrictions" },
@@ -660,7 +660,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
660
660
}]
661
661
}` ,
662
662
wantPredicates : sets .NewString (
663
- "PodFitsHostPorts" ,
664
663
"NoVolumeZoneConflict" ,
665
664
"CheckNodeMemoryPressure" ,
666
665
"CheckNodeDiskPressure" ,
@@ -688,6 +687,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
688
687
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
689
688
"FilterPlugin" : {
690
689
{Name : "NodeName" },
690
+ {Name : "NodePorts" },
691
691
{Name : "NodeAffinity" },
692
692
{Name : "NodeResources" },
693
693
{Name : "VolumeRestrictions" },
@@ -773,7 +773,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
773
773
}]
774
774
}` ,
775
775
wantPredicates : sets .NewString (
776
- "PodFitsHostPorts" ,
777
776
"NoVolumeZoneConflict" ,
778
777
"CheckNodeMemoryPressure" ,
779
778
"CheckNodeDiskPressure" ,
@@ -802,6 +801,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
802
801
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
803
802
"FilterPlugin" : {
804
803
{Name : "NodeName" },
804
+ {Name : "NodePorts" },
805
805
{Name : "NodeAffinity" },
806
806
{Name : "NodeResources" },
807
807
{Name : "VolumeRestrictions" },
@@ -888,7 +888,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
888
888
}]
889
889
}` ,
890
890
wantPredicates : sets .NewString (
891
- "PodFitsHostPorts" ,
892
891
"NoVolumeZoneConflict" ,
893
892
"CheckNodeMemoryPressure" ,
894
893
"CheckNodeDiskPressure" ,
@@ -918,6 +917,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
918
917
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
919
918
"FilterPlugin" : {
920
919
{Name : "NodeName" },
920
+ {Name : "NodePorts" },
921
921
{Name : "NodeAffinity" },
922
922
{Name : "NodeResources" },
923
923
{Name : "VolumeRestrictions" },
@@ -1003,7 +1003,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1003
1003
}]
1004
1004
}` ,
1005
1005
wantPredicates : sets .NewString (
1006
- "PodFitsHostPorts" ,
1007
1006
"NoVolumeZoneConflict" ,
1008
1007
"CheckNodeMemoryPressure" ,
1009
1008
"CheckNodeDiskPressure" ,
@@ -1034,6 +1033,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1034
1033
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
1035
1034
"FilterPlugin" : {
1036
1035
{Name : "NodeName" },
1036
+ {Name : "NodePorts" },
1037
1037
{Name : "NodeAffinity" },
1038
1038
{Name : "NodeResources" },
1039
1039
{Name : "VolumeRestrictions" },
@@ -1123,7 +1123,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1123
1123
}]
1124
1124
}` ,
1125
1125
wantPredicates : sets .NewString (
1126
- "PodFitsHostPorts" ,
1127
1126
"NoVolumeZoneConflict" ,
1128
1127
"CheckNodeMemoryPressure" ,
1129
1128
"CheckNodeDiskPressure" ,
@@ -1154,6 +1153,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1154
1153
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
1155
1154
"FilterPlugin" : {
1156
1155
{Name : "NodeName" },
1156
+ {Name : "NodePorts" },
1157
1157
{Name : "NodeAffinity" },
1158
1158
{Name : "NodeResources" },
1159
1159
{Name : "VolumeRestrictions" },
@@ -1185,6 +1185,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1185
1185
filterToPredicateMap := map [string ]string {
1186
1186
"TaintToleration" : "PodToleratesNodeTaints" ,
1187
1187
"NodeName" : "HostName" ,
1188
+ "NodePorts" : "PodFitsHostPorts" ,
1188
1189
"NodeResources" : "PodFitsResources" ,
1189
1190
"NodeAffinity" : "MatchNodeSelector" ,
1190
1191
"VolumeBinding" : "CheckVolumeBinding" ,
0 commit comments