Replies: 1 comment
-
| Have been using the runners with same configuration for several months. Working great ! | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hello and thank you for this module. It has helped us so much in building an autoscaling self-hosted runner.
We use ephemeral runners and have set up a large pool size. Then, we try to reduce the pool size after business hours to save money.
We first tried to configure
pool_configfor business hours and non-business hours, as shown in the example below. (The following example ignores time zone for simplicity.)However, we noticed that the pool lambda does not delete instances even when the pool size is exceeded. So if a build is not triggered outside of business hours, the pool size will remain large.
So we plan to use
pool_configandidle_configtogether.pool_configfor business hours onlyminimum_running_time_in_minutessmall enough (e.g. 1 hour)idleCountequal to the pool size during business hours and minimize it during non-business hours.However,
idle_configappears to be a configuration for non-ephemeral runners. Do you know if something is wrong with this plan?We want to know if there is a better way to reduce pool size outside of business hours.
Beta Was this translation helpful? Give feedback.
All reactions