Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(proxy scheduler): exit filter step early when scheduling gates are found #212

Merged
merged 1 commit into from
Aug 31, 2024

Conversation

marwanad
Copy link
Contributor

Motivation

We use admiralty alongside Kueue for scheduling plain pod workloads on the target clusters. For plain pod management, Kueue utilizes scheduling gates to block the scheduling cycle from running. The scheduling gate remains on the pod until Kueue admits the pod when quota is available. Pods that are scheduling gated don't have the PodReasonUnschedulable as the condition reason and therefore, may cause unnecessary delays in the filter step since it polls for the entirety of the 30 seconds waiting for PodReasonUnschedulable.

This fixes this logic to consider pods with scheduling gates as unschedulable.

@marwanad marwanad changed the title fix: exit filter step early when scheduling gates are found fix(proxy scheduler): exit filter step early when scheduling gates are found Aug 12, 2024
@marwanad marwanad force-pushed the count-scheduling-gates branch from f740767 to de86215 Compare August 12, 2024 04:09
@marwanad marwanad marked this pull request as draft August 12, 2024 04:20
@marwanad marwanad force-pushed the count-scheduling-gates branch 2 times, most recently from 02e24c9 to bdd0022 Compare August 13, 2024 02:28
@marwanad marwanad force-pushed the count-scheduling-gates branch from bdd0022 to b63c3cb Compare August 13, 2024 02:37
@marwanad marwanad marked this pull request as ready for review August 13, 2024 02:50
@adrienjt adrienjt merged commit b856e0c into admiraltyio:master Aug 31, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants