-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: provide support to allow HTTP scaler to work alongside other core KEDA scalers #929
Conversation
Hey, mind sharing some samples on what that would look like? Is the problem that you'd otherwise have 2 scaledobjects or? |
@tomkerkhove Yeah the problem we have at the moment is that we already have a scaledobject with a kafka trigger added for scaling but we also have a requirement to add HTTP scaling to the same deployment so we can scale up on http requests also. This change will allow you to add skip annotation on the HTTPSO so you can add the external-push trigger to your existing scaledobject as an additional trigger etc. |
I like the solution but I'm worried about how this will scale in the future. Currently, we support |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome contribution ❤️
Just small feedback inline
There are also some static checks failures: https://github.com/kedacore/http-add-on/actions/runs/8230990823/job/22505562138?pr=929 |
00ebf1b
to
5020b67
Compare
0a783d7
to
a84c63f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good guide, added a few suggestion!
There are also some linting errors, could you take a look? https://github.com/kedacore/http-add-on/actions/runs/8261625169/job/22724018316?pr=929 |
278bbc0
to
b051c76
Compare
@tomkerkhove updated docs as per your suggestions, thanks. @JorTurFer lint errors should be fixed now also, my bad :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nits
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just the change in the changelog and we are ready to merge this! ❤️
…re KEDA scalers Signed-off-by: Paul Cooke <Paul.Cooke@10xbanking.com>
Updated as requested |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome contribution! Thanks for it ❤️
This change provides support to allow HTTP scaler to work alongside other core KEDA scalers by allowing skipScaledObjectCreation annotation to be set on an HTTPScaledObject. This will ensure the reconciler to skip the KEDA core ScaledObjects creation which alllows you to create and manage your own ScaledObject with addtional triggers.
Checklist
README.md
docs/
directoryFixes #