ref: a question raised at #123227 (comment)
So, currently if PVCs for the pod are not-found, VolumeBinding PreFilter returns unschedulable.
But, it means that we have to consume 1 scheduling cycle to notice the lack of PVCs.
Technically, we can move this part to PreEnqueue so that the pods don't enter the scheduling cycles in the first place if PVCs aren't ready yet. DRA plugin does the similar stuff at PreEnqueue actually (ref).
(I'm wondering why we haven't done this until now though. Is it just that no one has noticed that we can do this, or is there any specific reasons blocking this improvement? (e.g., perf concern?) Anyways..)
/sig scheduling
/kind feature
/cc @kubernetes/sig-scheduling-misc @carlory
ref: a question raised at #123227 (comment)
So, currently if PVCs for the pod are not-found, VolumeBinding
PreFilterreturns unschedulable.But, it means that we have to consume 1 scheduling cycle to notice the lack of PVCs.
Technically, we can move this part to
PreEnqueueso that the pods don't enter the scheduling cycles in the first place if PVCs aren't ready yet. DRA plugin does the similar stuff atPreEnqueueactually (ref).(I'm wondering why we haven't done this until now though. Is it just that no one has noticed that we can do this, or is there any specific reasons blocking this improvement? (e.g., perf concern?) Anyways..)
/sig scheduling
/kind feature
/cc @kubernetes/sig-scheduling-misc @carlory