1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

Descheduling profile with PoC fake plugin (#1093)

* Descheduling profile

* Fake plugin + profile unit testing

* Rename Profile config type into DeschedulerProfile

To avoid resamblance with profileImpl

* First run deschedule, then balance extension points
This commit is contained in:
Jan Chaloupka
2023-03-23 17:14:33 +01:00
committed by GitHub
parent 0872b214ff
commit bcc6c8eb2a
18 changed files with 1088 additions and 301 deletions

View File

@@ -28,7 +28,7 @@ type DeschedulerPolicy struct {
metav1.TypeMeta
// Profiles
Profiles []Profile
Profiles []DeschedulerProfile
// NodeSelector for a set of nodes to operate over
NodeSelector *string
@@ -57,7 +57,7 @@ type PriorityThreshold struct {
Name string
}
type Profile struct {
type DeschedulerProfile struct {
Name string
PluginConfigs []PluginConfig
Plugins Plugins