Add plugin hook for adding new load balancing algorithms #11336
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
needs-priority
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Currently, it doesn't seem possible for a plugin to extend the available load balancing algorithms that can be used. Instead, operators needs to fork, rebuild and deploy the project, or ninja-mount lua files, overwriting source code at runtime, both of which seems error prone and hard.
But, there's lots of interest in new or different load balancing algorithms for ingress-nginx, a lot of which haven't made it into the core. #9239 and #9025 are both attempts to add new algorithms that could have been plugins. Personally, I have all sorts of weird ideas I want to try for my own load balancing problems, and I'm also aware of several different private initiatives that do the same.
It'd be great if we could add new implementations to the list of available implementations, and then access all annotations inside a plugin to power it.
And finally, for bonus points, its really hard to test plugins outside this repo, it'd be really great to improve support for that as well.
The text was updated successfully, but these errors were encountered: