@@ -160,7 +160,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
160
160
]
161
161
}` ,
162
162
wantPredicates : sets .NewString (
163
- "NoVolumeZoneConflict" ,
164
163
"MaxEBSVolumeCount" ,
165
164
"MaxGCEPDVolumeCount" ,
166
165
"MaxAzureDiskVolumeCount" ,
@@ -183,6 +182,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
183
182
{Name : "NodeAffinity" },
184
183
{Name : "NodeResources" },
185
184
{Name : "VolumeRestrictions" },
185
+ {Name : "VolumeZone" },
186
186
},
187
187
"ScorePlugin" : {
188
188
{Name : "ImageLocality" , Weight : 2 },
@@ -224,7 +224,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
224
224
]
225
225
}` ,
226
226
wantPredicates : sets .NewString (
227
- "NoVolumeZoneConflict" ,
228
227
"CheckNodeMemoryPressure" ,
229
228
"MaxEBSVolumeCount" ,
230
229
"MaxGCEPDVolumeCount" ,
@@ -250,6 +249,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
250
249
{Name : "NodeResources" },
251
250
{Name : "VolumeRestrictions" },
252
251
{Name : "TaintToleration" },
252
+ {Name : "VolumeZone" },
253
253
},
254
254
"ScorePlugin" : {
255
255
{Name : "ImageLocality" , Weight : 2 },
@@ -295,7 +295,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
295
295
]
296
296
}` ,
297
297
wantPredicates : sets .NewString (
298
- "NoVolumeZoneConflict" ,
299
298
"CheckNodeMemoryPressure" ,
300
299
"CheckNodeDiskPressure" ,
301
300
"MaxEBSVolumeCount" ,
@@ -324,6 +323,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
324
323
{Name : "NodeResources" },
325
324
{Name : "VolumeRestrictions" },
326
325
{Name : "TaintToleration" },
326
+ {Name : "VolumeZone" },
327
327
},
328
328
"ScorePlugin" : {
329
329
{Name : "ImageLocality" , Weight : 2 },
@@ -378,7 +378,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
378
378
}]
379
379
}` ,
380
380
wantPredicates : sets .NewString (
381
- "NoVolumeZoneConflict" ,
382
381
"CheckNodeMemoryPressure" ,
383
382
"CheckNodeDiskPressure" ,
384
383
"MaxEBSVolumeCount" ,
@@ -407,6 +406,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
407
406
{Name : "NodeResources" },
408
407
{Name : "VolumeRestrictions" },
409
408
{Name : "TaintToleration" },
409
+ {Name : "VolumeZone" },
410
410
},
411
411
"ScorePlugin" : {
412
412
{Name : "ImageLocality" , Weight : 2 },
@@ -473,7 +473,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
473
473
}]
474
474
}` ,
475
475
wantPredicates : sets .NewString (
476
- "NoVolumeZoneConflict" ,
477
476
"CheckNodeMemoryPressure" ,
478
477
"CheckNodeDiskPressure" ,
479
478
"CheckNodeCondition" ,
@@ -503,6 +502,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
503
502
{Name : "NodeResources" },
504
503
{Name : "VolumeRestrictions" },
505
504
{Name : "TaintToleration" },
505
+ {Name : "VolumeZone" },
506
506
},
507
507
"ScorePlugin" : {
508
508
{Name : "ImageLocality" , Weight : 2 },
@@ -570,7 +570,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
570
570
}]
571
571
}` ,
572
572
wantPredicates : sets .NewString (
573
- "NoVolumeZoneConflict" ,
574
573
"CheckNodeMemoryPressure" ,
575
574
"CheckNodeDiskPressure" ,
576
575
"CheckNodeCondition" ,
@@ -601,6 +600,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
601
600
{Name : "VolumeRestrictions" },
602
601
{Name : "TaintToleration" },
603
602
{Name : "VolumeBinding" },
603
+ {Name : "VolumeZone" },
604
604
},
605
605
"ScorePlugin" : {
606
606
{Name : "ImageLocality" , Weight : 2 },
@@ -672,7 +672,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
672
672
}]
673
673
}` ,
674
674
wantPredicates : sets .NewString (
675
- "NoVolumeZoneConflict" ,
676
675
"CheckNodeMemoryPressure" ,
677
676
"CheckNodeDiskPressure" ,
678
677
"CheckNodePIDPressure" ,
@@ -704,6 +703,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
704
703
{Name : "VolumeRestrictions" },
705
704
{Name : "TaintToleration" },
706
705
{Name : "VolumeBinding" },
706
+ {Name : "VolumeZone" },
707
707
},
708
708
"ScorePlugin" : {
709
709
{Name : "ImageLocality" , Weight : 2 },
@@ -787,7 +787,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
787
787
}]
788
788
}` ,
789
789
wantPredicates : sets .NewString (
790
- "NoVolumeZoneConflict" ,
791
790
"CheckNodeMemoryPressure" ,
792
791
"CheckNodeDiskPressure" ,
793
792
"CheckNodePIDPressure" ,
@@ -820,6 +819,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
820
819
{Name : "VolumeRestrictions" },
821
820
{Name : "TaintToleration" },
822
821
{Name : "VolumeBinding" },
822
+ {Name : "VolumeZone" },
823
823
},
824
824
"ScorePlugin" : {
825
825
{Name : "ImageLocality" , Weight : 2 },
@@ -904,7 +904,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
904
904
}]
905
905
}` ,
906
906
wantPredicates : sets .NewString (
907
- "NoVolumeZoneConflict" ,
908
907
"CheckNodeMemoryPressure" ,
909
908
"CheckNodeDiskPressure" ,
910
909
"CheckNodePIDPressure" ,
@@ -938,6 +937,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
938
937
{Name : "VolumeRestrictions" },
939
938
{Name : "TaintToleration" },
940
939
{Name : "VolumeBinding" },
940
+ {Name : "VolumeZone" },
941
941
},
942
942
"ScorePlugin" : {
943
943
{Name : "ImageLocality" , Weight : 2 },
@@ -1021,7 +1021,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1021
1021
}]
1022
1022
}` ,
1023
1023
wantPredicates : sets .NewString (
1024
- "NoVolumeZoneConflict" ,
1025
1024
"CheckNodeMemoryPressure" ,
1026
1025
"CheckNodeDiskPressure" ,
1027
1026
"CheckNodePIDPressure" ,
@@ -1056,6 +1055,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1056
1055
{Name : "VolumeRestrictions" },
1057
1056
{Name : "TaintToleration" },
1058
1057
{Name : "VolumeBinding" },
1058
+ {Name : "VolumeZone" },
1059
1059
},
1060
1060
"ScorePlugin" : {
1061
1061
{Name : "ImageLocality" , Weight : 2 },
@@ -1143,7 +1143,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1143
1143
}]
1144
1144
}` ,
1145
1145
wantPredicates : sets .NewString (
1146
- "NoVolumeZoneConflict" ,
1147
1146
"CheckNodeMemoryPressure" ,
1148
1147
"CheckNodeDiskPressure" ,
1149
1148
"CheckNodePIDPressure" ,
@@ -1178,6 +1177,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1178
1177
{Name : "VolumeRestrictions" },
1179
1178
{Name : "TaintToleration" },
1180
1179
{Name : "VolumeBinding" },
1180
+ {Name : "VolumeZone" },
1181
1181
},
1182
1182
"ScorePlugin" : {
1183
1183
{Name : "ImageLocality" , Weight : 2 },
@@ -1212,6 +1212,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1212
1212
"NodeAffinity" : "MatchNodeSelector" ,
1213
1213
"VolumeBinding" : "CheckVolumeBinding" ,
1214
1214
"VolumeRestrictions" : "NoDiskConflict" ,
1215
+ "VolumeZone" : "NoVolumeZoneConflict" ,
1215
1216
}
1216
1217
scoreToPriorityMap := map [string ]string {
1217
1218
"TaintToleration" : "TaintTolerationPriority" ,
0 commit comments