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
For example, if you previously used the `NodeResourcesMostAllocated` plugin, you
263
+
would instead use `NodeResourcesFit` (enabled by default) and add a `pluginConfig`
264
+
with a `scoreStrategy` that is similar to:
265
+
```yaml
266
+
apiVersion: kubescheduler.config.k8s.io/v1beta2
267
+
kind: KubeSchedulerConfiguration
268
+
profiles:
269
+
- pluginConfig:
270
+
- args:
271
+
scoringStrategy:
272
+
resources:
273
+
- name: cpu
274
+
weight: 1
275
+
type: MostAllocated
276
+
name: NodeResourcesFit
277
+
```
278
+
279
+
* The scheduler plugin `NodeLabel` is deprecated; instead, use the [`NodeAffinity`](/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity) plugin (enabled by default) to achieve similar behavior.
280
+
281
+
* The scheduler plugin `ServiceAffinity` is deprecated; instead, use the [`InterPodAffinity`](/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity) plugin (enabled by default) to achieve similar behavior.
282
+
283
+
* The scheduler plugin `NodePreferAvoidPods` is deprecated; instead, use [node taints](/docs/concepts/scheduling-eviction/taint-and-toleration/) to achieve similar behavior.
284
+
285
+
* A plugin enabled in a v1beta2 configuration file takes precedence over the default configuration for that plugin.
286
+
287
+
* Invalid `host` or `port` configured for scheduler healthz and metrics bind address will cause validation failure.
288
+
289
+
{{% /tab %}}
290
+
{{< /tabs >}}
291
+
258
292
## {{% heading "whatsnext" %}}
259
293
260
294
* Read the [kube-scheduler reference](/docs/reference/command-line-tools-reference/kube-scheduler/)
261
295
* Learn about [scheduling](/docs/concepts/scheduling-eviction/kube-scheduler/)
262
296
* Read the [kube-scheduler configuration (v1beta1)](/docs/reference/config-api/kube-scheduler-config.v1beta1/) reference
263
297
* Read the [kube-scheduler configuration (v1beta2)](/docs/reference/config-api/kube-scheduler-config.v1beta2/) reference
0 commit comments