@@ -251,7 +251,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
251
251
"MaxEBSVolumeCount" ,
252
252
"MaxGCEPDVolumeCount" ,
253
253
"MaxAzureDiskVolumeCount" ,
254
- "MatchInterPodAffinity" ,
255
254
"TestServiceAffinity" ,
256
255
"TestLabelsPresence" ,
257
256
),
@@ -271,6 +270,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
271
270
{Name : "VolumeRestrictions" },
272
271
{Name : "TaintToleration" },
273
272
{Name : "VolumeZone" },
273
+ {Name : "InterPodAffinity" },
274
274
},
275
275
"ScorePlugin" : {
276
276
{Name : "ImageLocality" , Weight : 2 },
@@ -321,7 +321,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
321
321
"MaxEBSVolumeCount" ,
322
322
"MaxGCEPDVolumeCount" ,
323
323
"MaxAzureDiskVolumeCount" ,
324
- "MatchInterPodAffinity" ,
325
324
"TestServiceAffinity" ,
326
325
"TestLabelsPresence" ,
327
326
),
@@ -342,6 +341,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
342
341
{Name : "VolumeRestrictions" },
343
342
{Name : "TaintToleration" },
344
343
{Name : "VolumeZone" },
344
+ {Name : "InterPodAffinity" },
345
345
},
346
346
"ScorePlugin" : {
347
347
{Name : "ImageLocality" , Weight : 2 },
@@ -402,7 +402,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
402
402
"MaxEBSVolumeCount" ,
403
403
"MaxGCEPDVolumeCount" ,
404
404
"MaxAzureDiskVolumeCount" ,
405
- "MatchInterPodAffinity" ,
406
405
"TestServiceAffinity" ,
407
406
"TestLabelsPresence" ,
408
407
),
@@ -423,6 +422,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
423
422
{Name : "VolumeRestrictions" },
424
423
{Name : "TaintToleration" },
425
424
{Name : "VolumeZone" },
425
+ {Name : "InterPodAffinity" },
426
426
},
427
427
"ScorePlugin" : {
428
428
{Name : "ImageLocality" , Weight : 2 },
@@ -496,7 +496,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
496
496
"MaxEBSVolumeCount" ,
497
497
"MaxGCEPDVolumeCount" ,
498
498
"MaxAzureDiskVolumeCount" ,
499
- "MatchInterPodAffinity" ,
500
499
"TestServiceAffinity" ,
501
500
"TestLabelsPresence" ,
502
501
),
@@ -517,6 +516,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
517
516
{Name : "VolumeRestrictions" },
518
517
{Name : "TaintToleration" },
519
518
{Name : "VolumeZone" },
519
+ {Name : "InterPodAffinity" },
520
520
},
521
521
"ScorePlugin" : {
522
522
{Name : "ImageLocality" , Weight : 2 },
@@ -591,7 +591,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
591
591
"MaxEBSVolumeCount" ,
592
592
"MaxGCEPDVolumeCount" ,
593
593
"MaxAzureDiskVolumeCount" ,
594
- "MatchInterPodAffinity" ,
595
594
"TestServiceAffinity" ,
596
595
"TestLabelsPresence" ,
597
596
),
@@ -613,6 +612,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
613
612
{Name : "TaintToleration" },
614
613
{Name : "VolumeBinding" },
615
614
{Name : "VolumeZone" },
615
+ {Name : "InterPodAffinity" },
616
616
},
617
617
"ScorePlugin" : {
618
618
{Name : "ImageLocality" , Weight : 2 },
@@ -692,7 +692,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
692
692
"MaxEBSVolumeCount" ,
693
693
"MaxGCEPDVolumeCount" ,
694
694
"MaxAzureDiskVolumeCount" ,
695
- "MatchInterPodAffinity" ,
696
695
"TestServiceAffinity" ,
697
696
"TestLabelsPresence" ,
698
697
),
@@ -714,6 +713,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
714
713
{Name : "TaintToleration" },
715
714
{Name : "VolumeBinding" },
716
715
{Name : "VolumeZone" },
716
+ {Name : "InterPodAffinity" },
717
717
},
718
718
"ScorePlugin" : {
719
719
{Name : "ImageLocality" , Weight : 2 },
@@ -805,7 +805,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
805
805
"MaxEBSVolumeCount" ,
806
806
"MaxGCEPDVolumeCount" ,
807
807
"MaxAzureDiskVolumeCount" ,
808
- "MatchInterPodAffinity" ,
809
808
"TestServiceAffinity" ,
810
809
"TestLabelsPresence" ,
811
810
),
@@ -828,6 +827,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
828
827
{Name : "TaintToleration" },
829
828
{Name : "VolumeBinding" },
830
829
{Name : "VolumeZone" },
830
+ {Name : "InterPodAffinity" },
831
831
},
832
832
"ScorePlugin" : {
833
833
{Name : "ImageLocality" , Weight : 2 },
@@ -920,7 +920,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
920
920
"MaxEBSVolumeCount" ,
921
921
"MaxGCEPDVolumeCount" ,
922
922
"MaxAzureDiskVolumeCount" ,
923
- "MatchInterPodAffinity" ,
924
923
"TestServiceAffinity" ,
925
924
"TestLabelsPresence" ,
926
925
),
@@ -944,6 +943,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
944
943
{Name : "NodeVolumeLimits" },
945
944
{Name : "VolumeBinding" },
946
945
{Name : "VolumeZone" },
946
+ {Name : "InterPodAffinity" },
947
947
},
948
948
"ScorePlugin" : {
949
949
{Name : "ImageLocality" , Weight : 2 },
@@ -1036,7 +1036,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1036
1036
"MaxGCEPDVolumeCount" ,
1037
1037
"MaxAzureDiskVolumeCount" ,
1038
1038
"MaxCinderVolumeCount" ,
1039
- "MatchInterPodAffinity" ,
1040
1039
"TestServiceAffinity" ,
1041
1040
"TestLabelsPresence" ,
1042
1041
),
@@ -1060,6 +1059,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1060
1059
{Name : "NodeVolumeLimits" },
1061
1060
{Name : "VolumeBinding" },
1062
1061
{Name : "VolumeZone" },
1062
+ {Name : "InterPodAffinity" },
1063
1063
},
1064
1064
"ScorePlugin" : {
1065
1065
{Name : "ImageLocality" , Weight : 2 },
@@ -1156,7 +1156,6 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1156
1156
"MaxGCEPDVolumeCount" ,
1157
1157
"MaxAzureDiskVolumeCount" ,
1158
1158
"MaxCinderVolumeCount" ,
1159
- "MatchInterPodAffinity" ,
1160
1159
"TestServiceAffinity" ,
1161
1160
"TestLabelsPresence" ,
1162
1161
),
@@ -1180,6 +1179,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1180
1179
{Name : "NodeVolumeLimits" },
1181
1180
{Name : "VolumeBinding" },
1182
1181
{Name : "VolumeZone" },
1182
+ {Name : "InterPodAffinity" },
1183
1183
},
1184
1184
"ScorePlugin" : {
1185
1185
{Name : "ImageLocality" , Weight : 2 },
@@ -1219,6 +1219,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1219
1219
"VolumeRestrictions" : "NoDiskConflict" ,
1220
1220
"VolumeZone" : "NoVolumeZoneConflict" ,
1221
1221
"NodeVolumeLimits" : "MaxCSIVolumeCountPred" ,
1222
+ "InterPodAffinity" : "MatchInterPodAffinity" ,
1222
1223
}
1223
1224
scoreToPriorityMap := map [string ]string {
1224
1225
"ImageLocality" : "ImageLocalityPriority" ,
0 commit comments