admiraltyio / admiralty

A system of Kubernetes controllers that intelligently schedules workloads across clusters.
https://admiralty.io
Apache License 2.0
673 stars 87 forks source link

feat: template scheduler configs #209

Open marwanad opened 3 months ago

marwanad commented 3 months ago

This change templates the proxy and candidate scheduler configs in values. It's useful for cases when a non-default plugin config is required.

marwanad commented 3 months ago

@adrienjt the one thing I'm trying to change is appending a pluginConfig to adjust the scoringStrategy for NodeResourcesFit. The goal is to achieve as much binpacking as possible for the GPU resource.

I think we can probably do better, just by templating the pluginConfig section. I am planning on moving the hardcoded context durations to be part of the plugin arguments in another PR so this will play nicely with that change as well.