cloudcaptainsh / cloudcaptain

Issue Tracker for CloudCaptain
13 stars 3 forks source link

Schedule based autoscaling #256

Open knocknarea opened 3 years ago

knocknarea commented 3 years ago

Hello @axelfontaine

Is it possible to configure autoscaling based on a schedule?

i.e. for UTC 08:00 to 11:00 4 instances, 13:00 to 18:00 3, 1 any other time?

axelfontaine commented 3 years ago

Not yet. What is your exact usecase for this? Is load-based autoscaling really too slow to adapt to your load peaks?

knocknarea commented 3 years ago

Hello @axelfontaine Thank you for getting back to me so soon.

As to the use case, at present because we have fairly predictable loads on our system, I'd like to bump everything up from a given time in the day to meet the demand, then scale it back down in off peak.

Of course I can handle it through load based policy, however getting this right a difficult fish to fry due to unpredictable high peaks and low troughs within busy periods that can trigger scale up/down and the lag associated with this type of demand. I'm concerned that it will result in a bumpy ride, so I'd nearly prefer to just put in place the correct number of instances to match the relatively stable (in terms of prediction) timescales of demand, even if that means running too much for small periods.