You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to have more flexibility, will be a great feature to be able to configure schedules with cron expression too.
Problem to solve
The feature come from that when you need to update the uptime period, this is not flexible, and you need to act in the exact moment when you want to change the scheduling.
Further details
For example, during Christmas holidays, if you want to configure a downtime in this period, but you're in the previous week, you need to update the configuration at the end of the week (mon-fri) and update with never...after that you need to reconfigure the tool on the last day of holiday's week for having a working cluster on the next Monday!
Proposal
With a cron expression instead, you can add a list of days and be more flexible.
Who can address the issue
Other links/references
The text was updated successfully, but these errors were encountered:
Hi @bitchecker we'll take this proposal under consideration, thank you a lot for suggesting!
In the meanwhile, take a look at this section of the documentation (https://github.com/caas-team/py-kube-downscaler?tab=readme-ov-file#uptime--downtime-spec). We have like a hidden feature that many people are not aware of that is called "absolute specification" and could be useful in these kind of situations (downtime for large periods like christmas holidays)
Quoting the docs:
Absolute specifications have the format <TIME_FROM>-<TIME_TO> where each <TIME> is an ISO 8601 date and time of the format <YYYY>-<MM>-<DD>T<HH>:<MM>:<SS>[+-]<TZHH>:<TZMM>
For example if you want to downscale the Cluster during Christimas holidays you could use
(You would set up this configuration the last day before your Christmas Holidays. The cluster will be up and running again starting from January 2nd, then you could switch the configuration to the Classic Specification at the end of that week)
You could also combine more holidays at the same time, for example in some countries January 6th is a bank holiday which is a monday for 2025. Using "Comma Configurations" you could use this configuration to set up the Cluster both for Christmas holidays and January 6th Holiday
(The cluster will be up and running outside of the period 23 December-1 January at 8AM and outside of the period 4 January-7 January at 8AM)
You could set up a similar configuration also for DEFAULT_UPTIME.
Keep in mind that you can switch from/to Absolute Specification/Classic Specification at anytime, the only requisite is that you need to restart the Downscaler Deployment in order to take the new configuration. Hope it can help!
Issue
In order to have more flexibility, will be a great feature to be able to configure schedules with cron expression too.
Problem to solve
The feature come from that when you need to update the uptime period, this is not flexible, and you need to act in the exact moment when you want to change the scheduling.
Further details
For example, during Christmas holidays, if you want to configure a downtime in this period, but you're in the previous week, you need to update the configuration at the end of the week (mon-fri) and update with never...after that you need to reconfigure the tool on the last day of holiday's week for having a working cluster on the next Monday!
Proposal
With a cron expression instead, you can add a list of days and be more flexible.
Who can address the issue
Other links/references
The text was updated successfully, but these errors were encountered: