mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2026-01-08 16:21:50 +00:00
Merge pull request #92049 from Huang-Wei/postfilter-impl-3
[postfilter-impl-3] Register and enable the defaultpreemption plugin
This commit is contained in:
@@ -1414,6 +1414,9 @@ func TestAlgorithmProviderCompatibility(t *testing.T) {
|
||||
{Name: "PodTopologySpread"},
|
||||
{Name: "InterPodAffinity"},
|
||||
},
|
||||
"PostFilterPlugin": {
|
||||
{Name: "DefaultPreemption"},
|
||||
},
|
||||
"PreScorePlugin": {
|
||||
{Name: "InterPodAffinity"},
|
||||
{Name: "PodTopologySpread"},
|
||||
@@ -1483,6 +1486,9 @@ func TestAlgorithmProviderCompatibility(t *testing.T) {
|
||||
{Name: "PodTopologySpread"},
|
||||
{Name: "InterPodAffinity"},
|
||||
},
|
||||
"PostFilterPlugin": {
|
||||
{Name: "DefaultPreemption"},
|
||||
},
|
||||
"PreScorePlugin": {
|
||||
{Name: "InterPodAffinity"},
|
||||
{Name: "PodTopologySpread"},
|
||||
@@ -1572,6 +1578,9 @@ func TestPluginsConfigurationCompatibility(t *testing.T) {
|
||||
{Name: "PodTopologySpread"},
|
||||
{Name: "InterPodAffinity"},
|
||||
},
|
||||
"PostFilterPlugin": {
|
||||
{Name: "DefaultPreemption"},
|
||||
},
|
||||
"PreScorePlugin": {
|
||||
{Name: "InterPodAffinity"},
|
||||
{Name: "PodTopologySpread"},
|
||||
@@ -1771,6 +1780,11 @@ func TestPluginsConfigurationCompatibility(t *testing.T) {
|
||||
{Name: "PodTopologySpread"},
|
||||
},
|
||||
},
|
||||
PostFilter: &config.PluginSet{
|
||||
Disabled: []config.Plugin{
|
||||
{Name: "DefaultPreemption"},
|
||||
},
|
||||
},
|
||||
PreScore: &config.PluginSet{
|
||||
Disabled: []config.Plugin{
|
||||
{Name: "InterPodAffinity"},
|
||||
@@ -1917,6 +1931,9 @@ func TestPluginsConfigurationCompatibility(t *testing.T) {
|
||||
{Name: "NodeResourcesFit"},
|
||||
{Name: "NodeUnschedulable"},
|
||||
},
|
||||
"PostFilterPlugin": {
|
||||
{Name: "DefaultPreemption"},
|
||||
},
|
||||
"PreScorePlugin": {
|
||||
{Name: "TaintToleration"},
|
||||
{Name: "DefaultPodTopologySpread"},
|
||||
|
||||
Reference in New Issue
Block a user