You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[x] kubernetes/enhancements issue in release milestone, which links to KEP (this should be a link to the KEP location in kubernetes/enhancements, not the initial KEP PR)
53
-
-[] KEP approvers have set the KEP status to `implementable`
54
-
-[] Design details are appropriately documented
55
-
-[] Test plan is in place, giving consideration to SIG Architecture and SIG Testing input
52
+
-[x] KEP approvers have set the KEP status to `implementable`
53
+
-[x] Design details are appropriately documented
54
+
-[x] Test plan is in place, giving consideration to SIG Architecture and SIG Testing input
56
55
-[ ] Graduation criteria is in place
57
56
-[ ] "Implementation History" section is up-to-date for milestone
58
57
-[ ] User-facing documentation has been created in [kubernetes/website], for publication to [kubernetes.io]
@@ -136,6 +135,7 @@ looks like the following:
136
135
typeKubeSchedulerConfigurationstruct {
137
136
...
138
137
SchedulerNamestring
138
+
AlgorithmSourceSchedulerAlgorithmSource
139
139
HardPodAffinitySymmetricWeight
140
140
Plugins *Plugins
141
141
PluginConfig []PluginConfig
@@ -158,14 +158,21 @@ type KubeSchedulerProfile struct {
158
158
}
159
159
```
160
160
161
+
Note that we remove `AlgorithmSource` from the new API. Its functionality becomes redundant to
162
+
what can be configured with `Plugins` and `PluginConfig`.
163
+
161
164
##### Conversion between API versions
162
165
163
-
During conversion from `v1alpha1` to `v1alpha2`, we will copy all the necessary
164
-
parameters from KubeSchedulerConfiguration into one item in the `Profiles` list.
166
+
During conversion of `kubescheduler.config.k8s.io` from `v1alpha1` to `v1alpha2`, we will copy all
167
+
the necessary parameters from KubeSchedulerConfiguration into one item in the `Profiles` list.
168
+
169
+
In particular, configurations done by using `AlgorithmSource` will produce different values for
170
+
`Plugins` and `PluginConfig`.
171
+
This is similar to what we already do internally in [`legacy_registry.go`](
0 commit comments