Files
kubernetes/pkg
Shingo Omura 22079a79d4 change sort function of scheduling queue to avoid starvation when unschedulable pods are in the queue
When starvation heppens:
- a lot of unschedulable pods exists in the head of queue
- because condition.LastTransitionTime is updated only when condition.Status changed
- (this means that once a pod is marked unschedulable, the field never updated until the pod successfuly scheduled.)

What was changed:
- condition.LastProbeTime is updated everytime when pod is determined
unschedulable.
- changed sort function so to use LastProbeTime to avoid starvation
described above

Consideration:
- This changes increases k8s API server load because it updates Pod.status whenever scheduler decides it as
unschedulable.

Signed-off-by: Shingo Omura <everpeace@gmail.com>
2019-01-07 11:05:45 +09:00
..
2018-11-10 07:50:31 -05:00
2018-10-05 12:59:38 -07:00
2018-12-20 20:22:11 +01:00
2018-11-10 07:50:31 -05:00
2018-12-20 20:22:11 +01:00
2018-12-20 20:22:11 +01:00
2018-10-05 12:59:38 -07:00
2018-11-11 22:07:29 -08:00
2018-09-13 20:27:32 -07:00
2018-11-10 07:50:31 -05:00