• bindata-mockuser's avatar
    Fix anti-affinity e2e test · 09a4b388
    bindata-mockuser authored
    The test tries to launch a pod with an anti-affinity annotation, waits 10
    seconds and then checks that it is still pending.
    
    But the anti-affinity annotation does not forbid to launch that pod on just
    another node that does not have the zone label at all.
    
    This commit changes this behavior by labeling two nodes with the zone label
    and then forcing the pod to be launched on one of those two nodes.
    09a4b388
scheduler_predicates.go 49.3 KB