-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
PostreSQL scaler #546
Comments
Thanks @dimberman! In terms of authentication, it would be good if it supports trigger authentication so that folks who want to can use env vars as well (although they shouldn't but sometimes have to) so that it aligns with other scalers. But I presume that was your plan? |
Hi @tomkerkhove, So for the airflow use-case, we would have a unique postgres per-deployment that KEDA would be speaking to, though I can see situations where multiple deployments would want to speak to a single central PG instance. If I follow the example of the redis_scaler, would that be sufficient? |
Code via #553 Would you be up for documenting the new scaler in https://github.com/kedacore/keda-docs as well please?
A bit late to reply but yes that should help you |
@tomkerkhove on it! |
Docs are done, thanks! |
A clear and concise description of what scaler you'd like to use and how you'd want to use it:
Scaler source would be a postGRES database
When the user creates the scaledObject, they would fill in a "query" parameter that accepts a string. If the string returns an integer, KEDA will autoscale to this integer. If it returns anything else, KEDA will report an error.
Users will be able to place a postGRES password into a kubernetes secret for connecting to the database.
The text was updated successfully, but these errors were encountered: