Skip to content
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

Feature Request: Schedule-based minRunners Configuration #3313

Open
kahirokunn opened this issue Feb 29, 2024 · 4 comments
Open

Feature Request: Schedule-based minRunners Configuration #3313

kahirokunn opened this issue Feb 29, 2024 · 4 comments
Labels
community Community contribution enhancement New feature or request needs triage Requires review from the maintainers

Comments

@kahirokunn
Copy link
Contributor

What would you like added?

I suggest enhancing the user experience by providing the ability to dynamically control minRunners based on the time of day and the day of the week, similar to cron syntax. This would allow users to adjust the minRunners parameter to suit their particular needs. For instance, from 9:00 to 18:00 on weekdays, one might want to set minRunners to 10. After business hours, where the workload is likely reduced, we could then set it to 0.

Why is this needed?

Currently, it seems that the minRunners setting is static and needs manual intervention to change. With dynamic settings, the system will be able to better adapt to differing workload patterns and would improve overall performance and efficiency.

Additional context

The proposed enhancement would be useful for organizations that have clear busy periods. This change could directly impact cost savings by allowing a reduction in resources during quiet periods, whilst still providing ample resources during busy periods. Furthermore, it could promote more effective use of resources and avoid resource waste.

@kahirokunn kahirokunn added community Community contribution enhancement New feature or request needs triage Requires review from the maintainers labels Feb 29, 2024
@joshua-reddish
Copy link

This would be very helpful to my org as well! It is one of the greater obstacles to adopting RSS, as many teams are unwilling to give up the quicker pickup times from the ARC system.

@joneteus
Copy link

HorizontalRunnerAutoscaler already has scheduling options for minReplicas https://github.com/actions/actions-runner-controller/blob/master/docs/automatically-scaling-runners.md#scheduled-overrides

@rteeling-evernorth
Copy link

rteeling-evernorth commented Mar 11, 2024

HorizontalRunnerAutoscaler already has scheduling options for minReplicas https://github.com/actions/actions-runner-controller/blob/master/docs/automatically-scaling-runners.md#scheduled-overrides

This is great, but not available on the newer com.github.actions runner. I get the feeling many would love to see this as a feature however. (myself included)

@gfrid
Copy link

gfrid commented Mar 17, 2024

HorizontalRunnerAutoscaler already has scheduling options for minReplicas https://github.com/actions/actions-runner-controller/blob/master/docs/automatically-scaling-runners.md#scheduled-overrides

This is great, but not available on the newer com.github.actions runner. I get the feeling many would love to see this as a feature however. (myself included)

was looking for that feature, would be great to have it back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contribution enhancement New feature or request needs triage Requires review from the maintainers
Projects
None yet
Development

No branches or pull requests

5 participants