InterPodAffinity Priority as Score plugin

This commit is contained in:
Abdullah Gharaibeh
2019-12-18 20:02:56 -05:00
parent 5cb1ec5fea
commit 119a9a94d1
15 changed files with 416 additions and 1106 deletions

View File

@@ -146,6 +146,9 @@ func TestSchedulerCreationFromConfigMap(t *testing.T) {
{Name: "VolumeZone"},
{Name: "InterPodAffinity"},
},
"PostFilterPlugin": {
{Name: "InterPodAffinity"},
},
"ScorePlugin": {
{Name: "NodeResourcesBalancedAllocation", Weight: 1},
{Name: "ImageLocality", Weight: 1},
@@ -222,6 +225,9 @@ kind: Policy
{Name: "VolumeZone"},
{Name: "InterPodAffinity"},
},
"PostFilterPlugin": {
{Name: "InterPodAffinity"},
},
"ScorePlugin": {
{Name: "NodeResourcesBalancedAllocation", Weight: 1},
{Name: "ImageLocality", Weight: 1},