• Jonathan Basseri's avatar
    Fix equiv. cache invalidation of Node condition. · 59f0a999
    Jonathan Basseri authored
    Equivalence cache for CheckNodeConditionPred becomes invalid when
    Node.Spec.Unschedulable changes. This can happen even if
    Node.Status.Conditions does not change, so move the logic around.
    
    This logic is covered by integration test
    "test/integration/scheduler".TestUnschedulableNodes but equivalence
    cache is currently skipped when test pods have no OwnerReference.
    59f0a999
factory.go 45.4 KB