airhelp-osp / autoscaler Goto Github PK
View Code? Open in Web Editor NEWSimple and efficient autoscalling solution for K8S
License: Apache License 2.0
Simple and efficient autoscalling solution for K8S
License: Apache License 2.0
If one of the SQS queues mentioned in the configuration file doesn't exist, Autoscaler will start with the following error:
{"environment":"production","error":"AWS.SimpleQueueService.NonExistentQueue: The specified queue does not exist for this wsdl version.\n\tstatus code: 400, request id: 07334b89-0858-50c6-832b-15378d55c224","level":"error","msg":"Failed to initialize autoscaler for <redacted>, skipping.","namespace":"<redacted>","time":"2024-05-15T09:39:25Z"}
So if 1 out of (let's say) 10 SQS queues won't exist, autoscaler won't work properly but will start and won't exit with any error. If user won't check startup logs of autoscaler it will be hard to determine why it doesn't upscaler application if one of existing queues will have messages above configured threshold.
I see 2 possible solutions here, either:
I think that the first one will be preferable to quickly notify of improper configuration.
Currently, only amibgious log line is displayed without any extra context:
Line 161 in 4506a28
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.