mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 19:28:16 +00:00
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.