mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 05:02:50 +00:00
registered nodeports and noderesources prefilters
This commit is contained in:
@@ -126,6 +126,8 @@ func TestSchedulerCreationFromConfigMap(t *testing.T) {
|
||||
}`,
|
||||
expectedPlugins: map[string][]kubeschedulerconfig.Plugin{
|
||||
"PreFilterPlugin": {
|
||||
{Name: "NodeResourcesFit"},
|
||||
{Name: "NodePorts"},
|
||||
{Name: "InterPodAffinity"},
|
||||
},
|
||||
"FilterPlugin": {
|
||||
@@ -200,6 +202,8 @@ kind: Policy
|
||||
`,
|
||||
expectedPlugins: map[string][]kubeschedulerconfig.Plugin{
|
||||
"PreFilterPlugin": {
|
||||
{Name: "NodeResourcesFit"},
|
||||
{Name: "NodePorts"},
|
||||
{Name: "InterPodAffinity"},
|
||||
},
|
||||
"FilterPlugin": {
|
||||
|
Reference in New Issue
Block a user