kubernetes/pkg/scheduler/framework/plugins/interpodaffinity
Mike Dame 012245c5b9 Add LabelSelector validation in Pod Affinity/AntiAffinity Filter and Score plugins
The lack of this validation on incoming pods causes unpredictable cluster outcomes
when later calculating affinity results against existing pods (see #92714). This fix
quickly addresses the main source where these problems should be caught.

It is unfortunately difficult to add this validation directly to the API server due
to the fact that it may break migrations with existing pods that fail this check. This
is a compromise to address the current issue.
2020-08-07 12:17:40 -04:00
..
BUILD Split scheduler framework implementation into new runtime package 2020-06-22 00:23:43 +10:00
filtering_test.go Add LabelSelector validation in Pod Affinity/AntiAffinity Filter and Score plugins 2020-08-07 12:17:40 -04:00
filtering.go Add LabelSelector validation in Pod Affinity/AntiAffinity Filter and Score plugins 2020-08-07 12:17:40 -04:00
plugin.go Move Scheduler plugin args validation to apis/config/validation 2020-05-25 16:27:21 +01:00
scoring_test.go Add LabelSelector validation in Pod Affinity/AntiAffinity Filter and Score plugins 2020-08-07 12:17:40 -04:00
scoring.go Add LabelSelector validation in Pod Affinity/AntiAffinity Filter and Score plugins 2020-08-07 12:17:40 -04:00