-
Notifications
You must be signed in to change notification settings - Fork 31
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
What is the best way to access WPA controllers? #132
Comments
Hey, thanks! we are very happy you find it useful!
|
Thanks for the reply. In my environment, after I send a message to an SQS queue with python boto3, it takes around 20~30 seconds for the WPA controller to detect the queue and autoscale a deployment. I want to make it faster with shorter poll intervals and resync time. |
Do you wish to configure it per resource, the central config does not work out for you? I am forgetting but is the SQS data available in less than 20 seconds? Also making cloudwatch calls can get expensive if done very frequently. |
Sorry for the confusion. I use the central config for now. As far as I tried, the message is available in less than 20 seconds. |
Yes using the default, if you don't specify any value for the short poll interval, it takes the default as 20. The document in README shows default for all flags. |
Also the values AWS shows in the messages and not visible are approximate values. Hence their metric is called approximate Messages Visible. |
Hi, thanks for publishing this project. it's very useful.
I found that I can edit the deployment "workerpodautoscaler" in kube-system namespace. Is it okay to edit the deployment directly? Or is there a better way to tune the flags in the controller?
And is there no way to use different flags(different long and short poll interval, etc.) for each WPA?
The text was updated successfully, but these errors were encountered: