@@ -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" ,
@@ -180,6 +179,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
180
179
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
181
180
"FilterPlugin" : {
182
181
{Name : "NodeName" },
182
+ {Name : "NodePorts" },
183
183
{Name : "NodeAffinity" },
184
184
{Name : "NodeResources" },
185
185
{Name : "VolumeRestrictions" },
@@ -224,7 +224,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
224
224
]
225
225
}` ,
226
226
wantPredicates : sets .NewString (
227
- "PodFitsHostPorts" ,
228
227
"NoVolumeZoneConflict" ,
229
228
"CheckNodeMemoryPressure" ,
230
229
"MaxEBSVolumeCount" ,
@@ -246,6 +245,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
246
245
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
247
246
"FilterPlugin" : {
248
247
{Name : "NodeName" },
248
+ {Name : "NodePorts" },
249
249
{Name : "NodeAffinity" },
250
250
{Name : "NodeResources" },
251
251
{Name : "VolumeRestrictions" },
@@ -295,7 +295,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
295
295
]
296
296
}` ,
297
297
wantPredicates : sets .NewString (
298
- "PodFitsHostPorts" ,
299
298
"NoVolumeZoneConflict" ,
300
299
"CheckNodeMemoryPressure" ,
301
300
"CheckNodeDiskPressure" ,
@@ -320,6 +319,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
320
319
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
321
320
"FilterPlugin" : {
322
321
{Name : "NodeName" },
322
+ {Name : "NodePorts" },
323
323
{Name : "NodeAffinity" },
324
324
{Name : "NodeResources" },
325
325
{Name : "VolumeRestrictions" },
@@ -378,7 +378,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
378
378
}]
379
379
}` ,
380
380
wantPredicates : sets .NewString (
381
- "PodFitsHostPorts" ,
382
381
"NoVolumeZoneConflict" ,
383
382
"CheckNodeMemoryPressure" ,
384
383
"CheckNodeDiskPressure" ,
@@ -403,6 +402,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
403
402
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
404
403
"FilterPlugin" : {
405
404
{Name : "NodeName" },
405
+ {Name : "NodePorts" },
406
406
{Name : "NodeAffinity" },
407
407
{Name : "NodeResources" },
408
408
{Name : "VolumeRestrictions" },
@@ -473,7 +473,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
473
473
}]
474
474
}` ,
475
475
wantPredicates : sets .NewString (
476
- "PodFitsHostPorts" ,
477
476
"NoVolumeZoneConflict" ,
478
477
"CheckNodeMemoryPressure" ,
479
478
"CheckNodeDiskPressure" ,
@@ -499,6 +498,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
499
498
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
500
499
"FilterPlugin" : {
501
500
{Name : "NodeName" },
501
+ {Name : "NodePorts" },
502
502
{Name : "NodeAffinity" },
503
503
{Name : "NodeResources" },
504
504
{Name : "VolumeRestrictions" },
@@ -570,7 +570,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
570
570
}]
571
571
}` ,
572
572
wantPredicates : sets .NewString (
573
- "PodFitsHostPorts" ,
574
573
"NoVolumeZoneConflict" ,
575
574
"CheckNodeMemoryPressure" ,
576
575
"CheckNodeDiskPressure" ,
@@ -596,6 +595,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
596
595
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
597
596
"FilterPlugin" : {
598
597
{Name : "NodeName" },
598
+ {Name : "NodePorts" },
599
599
{Name : "NodeAffinity" },
600
600
{Name : "NodeResources" },
601
601
{Name : "VolumeRestrictions" },
@@ -672,7 +672,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
672
672
}]
673
673
}` ,
674
674
wantPredicates : sets .NewString (
675
- "PodFitsHostPorts" ,
676
675
"NoVolumeZoneConflict" ,
677
676
"CheckNodeMemoryPressure" ,
678
677
"CheckNodeDiskPressure" ,
@@ -699,6 +698,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
699
698
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
700
699
"FilterPlugin" : {
701
700
{Name : "NodeName" },
701
+ {Name : "NodePorts" },
702
702
{Name : "NodeAffinity" },
703
703
{Name : "NodeResources" },
704
704
{Name : "VolumeRestrictions" },
@@ -787,7 +787,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
787
787
}]
788
788
}` ,
789
789
wantPredicates : sets .NewString (
790
- "PodFitsHostPorts" ,
791
790
"NoVolumeZoneConflict" ,
792
791
"CheckNodeMemoryPressure" ,
793
792
"CheckNodeDiskPressure" ,
@@ -815,6 +814,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
815
814
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
816
815
"FilterPlugin" : {
817
816
{Name : "NodeName" },
817
+ {Name : "NodePorts" },
818
818
{Name : "NodeAffinity" },
819
819
{Name : "NodeResources" },
820
820
{Name : "VolumeRestrictions" },
@@ -904,7 +904,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
904
904
}]
905
905
}` ,
906
906
wantPredicates : sets .NewString (
907
- "PodFitsHostPorts" ,
908
907
"NoVolumeZoneConflict" ,
909
908
"CheckNodeMemoryPressure" ,
910
909
"CheckNodeDiskPressure" ,
@@ -933,6 +932,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
933
932
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
934
933
"FilterPlugin" : {
935
934
{Name : "NodeName" },
935
+ {Name : "NodePorts" },
936
936
{Name : "NodeAffinity" },
937
937
{Name : "NodeResources" },
938
938
{Name : "VolumeRestrictions" },
@@ -1021,7 +1021,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1021
1021
}]
1022
1022
}` ,
1023
1023
wantPredicates : sets .NewString (
1024
- "PodFitsHostPorts" ,
1025
1024
"NoVolumeZoneConflict" ,
1026
1025
"CheckNodeMemoryPressure" ,
1027
1026
"CheckNodeDiskPressure" ,
@@ -1051,6 +1050,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1051
1050
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
1052
1051
"FilterPlugin" : {
1053
1052
{Name : "NodeName" },
1053
+ {Name : "NodePorts" },
1054
1054
{Name : "NodeAffinity" },
1055
1055
{Name : "NodeResources" },
1056
1056
{Name : "VolumeRestrictions" },
@@ -1143,7 +1143,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1143
1143
}]
1144
1144
}` ,
1145
1145
wantPredicates : sets .NewString (
1146
- "PodFitsHostPorts" ,
1147
1146
"NoVolumeZoneConflict" ,
1148
1147
"CheckNodeMemoryPressure" ,
1149
1148
"CheckNodeDiskPressure" ,
@@ -1173,6 +1172,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1173
1172
wantPlugins : map [string ][]kubeschedulerconfig.Plugin {
1174
1173
"FilterPlugin" : {
1175
1174
{Name : "NodeName" },
1175
+ {Name : "NodePorts" },
1176
1176
{Name : "NodeAffinity" },
1177
1177
{Name : "NodeResources" },
1178
1178
{Name : "VolumeRestrictions" },
@@ -1207,6 +1207,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1207
1207
filterToPredicateMap := map [string ]string {
1208
1208
"TaintToleration" : "PodToleratesNodeTaints" ,
1209
1209
"NodeName" : "HostName" ,
1210
+ "NodePorts" : "PodFitsHostPorts" ,
1210
1211
"NodeResources" : "PodFitsResources" ,
1211
1212
"NodeAffinity" : "MatchNodeSelector" ,
1212
1213
"VolumeBinding" : "CheckVolumeBinding" ,
0 commit comments