Allow matchExpressions as part of podSelector when defining scheduling policies #74
Labels
kind/enhancement
Enhancement, improvement, extension
status/closed
Issue is closed (either delivered or triaged)
What would you like to be added:
We would like Kupid to support matching Expressions along with matchLables in the podSelector for apply the scheduling policies.
Why is this needed:
Sometimes the podSelector is not sufficient and would like to give an expression to match.
Currently its not possible to achieve this as Kupid templates only parse podLabels as described in the template.
Proposal is to allow matching of expressions as well which can be defined in a section named podExpressions as described below:
This gets realized the policy as following:
The text was updated successfully, but these errors were encountered: