• Jonathan Basseri's avatar
    Ensure that pods obey backoff timers. · df4d65d2
    Jonathan Basseri authored
    The function AddUnschedulableIfNotPresent is responsible for
    initializing or updating backoff timers for pods that could not be
    scheduled. The helper function backoffPod does that work, but was not
    being called in all cases.
    
    This moves that call to be (mostly) unconditional, while cleaning up
    comments and error handling.
    df4d65d2
scheduling_queue.go 30 KB