kubernetes / enhancements

Enhancements tracking repo for Kubernetes
Apache License 2.0
3.46k stars 1.49k forks source link

DRA: support pod priority and preemption #4981

Open pohly opened 4 days ago

pohly commented 4 days ago

Enhancement Description

The implementation of the scheduler plugin for structured parameters does not implement the PreFilterExtensions hooks. Therefore the scheduler cannot determine whether preemption should be used to free up some device that is currently in use by a low-priority pod to enable running a high-priority pod.

The proposal is to support pod priority and preemption because then a mix of high and low priority pods is expected to run more efficiently.

pohly commented 4 days ago

/wg device-management /sig scheduling

As discussed during KubeCon NA 2024, there is precedence for enabling new functionality in the kube-scheduler as beta with enabled by default. A feature gate needs to be provided to allow disabling the new functionality. Whether this KEP is suitable for this remains to be seen and will depend on the complexity.