mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-22 09:25:11 +00:00
- update logic of verifying incoming pod's anti-affinity - rename podMatchesAffinityTermProperties to podMatchesAllAffinityTermProperties - add podMatchesAnyAffinityTermProperties which is used in some PodAntiAffinity cases - rename some functions to make it more readable - add unit tests to verify correctness of PodAffinity and PodAntiAffinity - verifying "Existing pod anti-affinity" - verifying "incoming pod's anti-affinity" - verifying "incoming pod's affinity"