Skip to content

Commit 5be2cfa

Browse files
committed
remove random plugin
1 parent 6530c13 commit 5be2cfa

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

cloud/scheduler/plugins/registry.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
"github.com/sp-yduck/cluster-api-provider-proxmox/cloud/scheduler/plugins/nodename"
1111
"github.com/sp-yduck/cluster-api-provider-proxmox/cloud/scheduler/plugins/noderesource"
1212
"github.com/sp-yduck/cluster-api-provider-proxmox/cloud/scheduler/plugins/overcommit"
13-
"github.com/sp-yduck/cluster-api-provider-proxmox/cloud/scheduler/plugins/random"
1413
"github.com/sp-yduck/cluster-api-provider-proxmox/cloud/scheduler/plugins/regex"
1514
)
1615

@@ -72,7 +71,6 @@ func NewNodeFilterPlugins(config map[string]PluginConfig) []framework.NodeFilter
7271

7372
func NewNodeScorePlugins(config map[string]PluginConfig) []framework.NodeScorePlugin {
7473
pls := []framework.NodeScorePlugin{
75-
&random.Random{},
7674
&noderesource.NodeResource{},
7775
}
7876
plugins := []framework.NodeScorePlugin{}

config/manager/manager.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,6 @@ metadata:
127127
namespace: system
128128
data:
129129
plugin-config.yaml: |
130-
scores:
131-
Random:
132-
enable: false
133130
filters:
134131
CPUOvercommit:
135132
enable: false

0 commit comments

Comments
 (0)