-
Notifications
You must be signed in to change notification settings - Fork 52
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
Scheduled autoscaling scales down to default instance_min_count around midnight #3356
Comments
Hi martinvisser, |
These are the events from the last days:
|
@martinvisser could you please share the relevant output of https://github.com/cloudfoundry/app-autoscaler-cli-plugin?tab=readme-ov-file#examples-5 |
This is from this night:
|
Thanks, that is very helpful to ensure that our assumptions are aligned with the observed behaviour on your side. As said, you identified a very nice corner case, congratulations 👼 👍. @silvestre any insights that you'd like to share when it comes to the priority of improving here? |
Haha, thanks, I guess 🤣 |
Thank you for taking the time to bring this to our attention. We truly appreciate your detailed observations and feedback. You are absolutely correct in identifying the missing functionality. At present, our direct users do not heavily rely on the schedules feature, which means we are unable to prioritize this issue immediately. However, we genuinely value community contributions, and if you or anyone else is interested in addressing this, we warmly welcome any pull requests. Rest assured, we have noted this issue and hope to revisit it when circumstances allow. Thank you again for your understanding and support! |
Using the following recurring schedule our application scales up at 00:00 on the 19th day of the month. We want to keep running with that same amount of instances until the end of the 27th day of the month. And we want to do that each month.
But what happens is that every night, at around 00:06 we have autoscaling events. We think this problem is due to the 00:00-23:59 start_time/end_time configuration which is round down to the minute. So, basically there is one minute between 23:59 and 0:00 where the autoscaler "thinks" there is no recurring schedule.
If not mistaken, 00:06 makes sense due to due cool down/breach settings.
Adding seconds, like 23:59:59 isn't allowed according to the API. There also doesn't seem to be an option to configure it like "from the 19th day 00:00 until the 27th day 23:59.
Any suggestions?
The text was updated successfully, but these errors were encountered: