project-codeflare / appwrapper

AppWrapper controller for Kueue
https://project-codeflare.github.io/appwrapper/
Apache License 2.0
4 stars 4 forks source link

Add schedulerName option and injection logic #135

Closed tardieu closed 1 month ago

tardieu commented 1 month ago

This PR adds a controller deployment option to automatically inject a schedulerName in pod template specs at resource creation time. This option makes it possible to use a secondary scheduler for all appwrapper components. The default behavior is unchanged (no schedulerName is injected). When the option is used, the schedulerName is only injected in pod template specs if a value is not already present. This makes it possible to explicitly ask for the default-scheduler even if the option is in use.