airshipit / sip

4 stars 1 forks source link

Full label selector support in BMH scheduling #9

Closed seaneagan closed 3 years ago

seaneagan commented 3 years ago

Problem description (if applicable) Currently candidate BMHs can only be selected by a single label: vmFlavor: vino.airshipit.org/flavor=control-plane

If we need to target more than one label, for example a combo of hardware and software (image) requirements, or use more advanced set operators, this would not be possible.

Proposed change Allow full label selectors by using the same types / utility code from the core kubernetes APIs.

seaneagan commented 3 years ago

https://review.opendev.org/c/airship/sip/+/779625