You are viewing documentation for Kubernetes version: v1.25
Kubernetes v1.25 documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date information, see the latest version.
Scheduling Policies
In Kubernetes versions before v1.23, a scheduling policy can be used to specify the predicates and priorities process. For example, you can set a scheduling policy by
running kube-scheduler --policy-config-file <filename>
or kube-scheduler --policy-configmap <ConfigMap>
.
This scheduling policy is not supported since Kubernetes v1.23. Associated flags policy-config-file
, policy-configmap
, policy-configmap-namespace
and use-legacy-policy-config
are also not supported. Instead, use the Scheduler Configuration to achieve similar behavior.
What's next
- Learn about scheduling
- Learn about kube-scheduler Configuration
- Read the kube-scheduler configuration reference (v1)
Last modified March 12, 2024 at 8:26 AM PST: Merge pull request #45495 from steve-hardman/fix-1.25 (8eb33af)