mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue e2e flake: real fix of PodAntiAffinity test The fix in PR https://github.com/kubernetes/kubernetes/pull/30135 was wrong in using a wrong test condition for an already broken test. ### Summary 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. **I assume here that a non-existing label is considered as a different label value.** Fixes #30078 |
||
---|---|---|
.. | ||
component/scheduler/perf | ||
e2e | ||
e2e_node | ||
fixtures/pkg/kubectl/cmd | ||
images | ||
integration | ||
kubemark | ||
soak | ||
utils | ||
.gitattributes | ||
OWNERS | ||
test_owners.csv |