Open
Description
We are trying to setup autoscaling using Ephemeral runners flag, It seems that the lambda function never scales runners down and always keeps the runners at the value of runners_maximum_count
that we have set.
for example, if we set runners_maximum_count
to 20
, then exactly 20
will be idle all the time, no matter if we have any pending jobs or not
version is v1.8.1
,
using prebuilt AWS AMI ubuntu-jammy-22.04-amd64-server
related configuration below
# Uncomment to enable ephemeral runners
delay_webhook_event = 0
enable_ephemeral_runners = true
enabled_userdata = false
minimum_running_time_in_minutes = 10
runners_maximum_count = 20
scale_down_schedule_expression = "cron(* * * * ? *)"
enable_job_queued_check = true
idle_config = [{
cron = "* * 9-17 * * 1-5"
timeZone = "Europe/Amsterdam"
idleCount = 3
}]
could you please advice if this is a bug or misconfiguration from our side?
let me know if more information is required