@@ -135,7 +135,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
135
135
{Name : "NodeLabel" },
136
136
{Name : "ServiceAffinity" },
137
137
},
138
- "PostFilterPlugin " : {{Name : "DefaultPodTopologySpread" }},
138
+ "PreScorePlugin " : {{Name : "DefaultPodTopologySpread" }},
139
139
"ScorePlugin" : {
140
140
{Name : "NodeResourcesLeastAllocated" , Weight : 1 },
141
141
{Name : "NodeLabel" , Weight : 4 },
@@ -190,7 +190,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
190
190
{Name : "NodeLabel" },
191
191
{Name : "ServiceAffinity" },
192
192
},
193
- "PostFilterPlugin " : {{Name : "DefaultPodTopologySpread" }},
193
+ "PreScorePlugin " : {{Name : "DefaultPodTopologySpread" }},
194
194
"ScorePlugin" : {
195
195
{Name : "NodeResourcesBalancedAllocation" , Weight : 2 },
196
196
{Name : "NodeResourcesLeastAllocated" , Weight : 2 },
@@ -253,7 +253,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
253
253
{Name : "AzureDiskLimits" },
254
254
{Name : "VolumeZone" },
255
255
},
256
- "PostFilterPlugin " : {{Name : "DefaultPodTopologySpread" }},
256
+ "PreScorePlugin " : {{Name : "DefaultPodTopologySpread" }},
257
257
"ScorePlugin" : {
258
258
{Name : "NodeResourcesBalancedAllocation" , Weight : 2 },
259
259
{Name : "ImageLocality" , Weight : 2 },
@@ -323,7 +323,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
323
323
{Name : "VolumeZone" },
324
324
{Name : "InterPodAffinity" },
325
325
},
326
- "PostFilterPlugin " : {
326
+ "PreScorePlugin " : {
327
327
{Name : "InterPodAffinity" },
328
328
{Name : "DefaultPodTopologySpread" },
329
329
{Name : "TaintToleration" },
@@ -399,7 +399,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
399
399
{Name : "VolumeZone" },
400
400
{Name : "InterPodAffinity" },
401
401
},
402
- "PostFilterPlugin " : {
402
+ "PreScorePlugin " : {
403
403
{Name : "InterPodAffinity" },
404
404
{Name : "DefaultPodTopologySpread" },
405
405
{Name : "TaintToleration" },
@@ -486,7 +486,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
486
486
{Name : "VolumeZone" },
487
487
{Name : "InterPodAffinity" },
488
488
},
489
- "PostFilterPlugin " : {
489
+ "PreScorePlugin " : {
490
490
{Name : "InterPodAffinity" },
491
491
{Name : "DefaultPodTopologySpread" },
492
492
{Name : "TaintToleration" },
@@ -584,7 +584,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
584
584
{Name : "VolumeZone" },
585
585
{Name : "InterPodAffinity" },
586
586
},
587
- "PostFilterPlugin " : {
587
+ "PreScorePlugin " : {
588
588
{Name : "InterPodAffinity" },
589
589
{Name : "DefaultPodTopologySpread" },
590
590
{Name : "TaintToleration" },
@@ -684,7 +684,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
684
684
{Name : "VolumeZone" },
685
685
{Name : "InterPodAffinity" },
686
686
},
687
- "PostFilterPlugin " : {
687
+ "PreScorePlugin " : {
688
688
{Name : "InterPodAffinity" },
689
689
{Name : "DefaultPodTopologySpread" },
690
690
{Name : "TaintToleration" },
@@ -787,7 +787,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
787
787
{Name : "VolumeZone" },
788
788
{Name : "InterPodAffinity" },
789
789
},
790
- "PostFilterPlugin " : {
790
+ "PreScorePlugin " : {
791
791
{Name : "InterPodAffinity" },
792
792
{Name : "DefaultPodTopologySpread" },
793
793
{Name : "TaintToleration" },
@@ -902,7 +902,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
902
902
{Name : "VolumeZone" },
903
903
{Name : "InterPodAffinity" },
904
904
},
905
- "PostFilterPlugin " : {
905
+ "PreScorePlugin " : {
906
906
{Name : "InterPodAffinity" },
907
907
{Name : "DefaultPodTopologySpread" },
908
908
{Name : "TaintToleration" },
@@ -1020,7 +1020,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1020
1020
{Name : "VolumeZone" },
1021
1021
{Name : "InterPodAffinity" },
1022
1022
},
1023
- "PostFilterPlugin " : {
1023
+ "PreScorePlugin " : {
1024
1024
{Name : "InterPodAffinity" },
1025
1025
{Name : "DefaultPodTopologySpread" },
1026
1026
{Name : "TaintToleration" },
@@ -1138,7 +1138,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1138
1138
{Name : "VolumeZone" },
1139
1139
{Name : "InterPodAffinity" },
1140
1140
},
1141
- "PostFilterPlugin " : {
1141
+ "PreScorePlugin " : {
1142
1142
{Name : "InterPodAffinity" },
1143
1143
{Name : "DefaultPodTopologySpread" },
1144
1144
{Name : "TaintToleration" },
@@ -1260,7 +1260,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1260
1260
{Name : "VolumeZone" },
1261
1261
{Name : "InterPodAffinity" },
1262
1262
},
1263
- "PostFilterPlugin " : {
1263
+ "PreScorePlugin " : {
1264
1264
{Name : "InterPodAffinity" },
1265
1265
{Name : "DefaultPodTopologySpread" },
1266
1266
{Name : "TaintToleration" },
@@ -1318,7 +1318,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1318
1318
{Name : "TaintToleration" },
1319
1319
{Name : "PodTopologySpread" },
1320
1320
},
1321
- "PostFilterPlugin " : {
1321
+ "PreScorePlugin " : {
1322
1322
{Name : "PodTopologySpread" },
1323
1323
},
1324
1324
"ScorePlugin" : {
@@ -1342,7 +1342,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1342
1342
},
1343
1343
wantPlugins : map [string ][]config.Plugin {
1344
1344
"QueueSortPlugin" : {{Name : "PrioritySort" }},
1345
- "PostFilterPlugin " : {
1345
+ "PreScorePlugin " : {
1346
1346
{Name : "NodeResourceLimits" },
1347
1347
},
1348
1348
"FilterPlugin" : {
@@ -1440,7 +1440,7 @@ func TestAlgorithmProviderCompatibility(t *testing.T) {
1440
1440
{Name : "VolumeZone" },
1441
1441
{Name : "InterPodAffinity" },
1442
1442
},
1443
- "PostFilterPlugin " : {
1443
+ "PreScorePlugin " : {
1444
1444
{Name : "InterPodAffinity" },
1445
1445
{Name : "DefaultPodTopologySpread" },
1446
1446
{Name : "TaintToleration" },
@@ -1500,7 +1500,7 @@ func TestAlgorithmProviderCompatibility(t *testing.T) {
1500
1500
{Name : "VolumeZone" },
1501
1501
{Name : "InterPodAffinity" },
1502
1502
},
1503
- "PostFilterPlugin " : {
1503
+ "PreScorePlugin " : {
1504
1504
{Name : "InterPodAffinity" },
1505
1505
{Name : "DefaultPodTopologySpread" },
1506
1506
{Name : "TaintToleration" },
@@ -1550,5 +1550,4 @@ func TestAlgorithmProviderCompatibility(t *testing.T) {
1550
1550
}
1551
1551
})
1552
1552
}
1553
-
1554
1553
}
0 commit comments