actions-runner-controller
actions-runner-controller copied to clipboard
runnerscale set min and max runner issue
Checks
- [X] I've already read https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/troubleshooting-actions-runner-controller-errors and I'm sure my issue is not covered in the troubleshooting guide.
- [X] I am using charts that are officially provided
Controller Version
0.9.1
Deployment Method
Helm
Checks
- [X] This isn't a question or user support case (For Q&A and community support, go to Discussions).
- [X] I've read the Changelog before submitting this issue and I'm sure it's not due to any recently-introduced backward-incompatible changes
To Reproduce
we are seeing one issue from yesterday
we configured runner scale set with min - 5 and max 20 but , always the desire count is showing 0 but when the job triggers it creates the runner pod . any specific changes
Describe the bug
we configured runner scaleset with min - 5 and max 20 but , always the desire count is showing 0 but when the job triggers it creates the runner pod . any specific changes?
Describe the expected behavior
since we gave min runners -5 , k get runners should always show minimum runners 5 in idle status or running status . but now it is showing 0 runners, only i can listenerpod and controller pod
Additional Context
+ kubectl get pods
NAME READY STATUS RESTARTS AGE
prosper-linux-prod-65655978-listener 1/1 Running 0 5h32m
prosper-runner-controller-gha-rs-controller-6bbfbc4996-nn9gf 1/1 Running 0 5h30m
~/Github_workspace2/actions-runner-controller/ch/gha-runner-scale-set main
Controller Logs
2024-09-17T05:00:02Z INFO listener-app.worker.kubernetesworker Created merge patch json for EphemeralRunnerSet update {"json": "{\"spec\":{\"patchID\":0,\"replicas\":5}}"} │
│ 2024-09-17T05:00:02Z INFO listener-app.worker.kubernetesworker Scaling ephemeral runner set {"assigned job": 0, "decision": 5, "min": 5, "max": 20, "currentRunnerCount": 5 │
│ 2024-09-17T05:00:02Z INFO listener-app.worker.kubernetesworker Ephemeral runner set scaled. {"namespace": "prosper-gha-runners", "name": "prosper-linux-prod-hfdr6", "repli │
│ 2024-09-17T05:00:02Z INFO listener-app.listener Getting next message {"lastMessageID": 4161}
Runner Pod Logs
2024-09-17T05:00:02Z INFO listener-app.worker.kubernetesworker Created merge patch json for EphemeralRunnerSet update {"json": "{\"spec\":{\"patchID\":0,\"replicas\":5}}"} │
│ 2024-09-17T05:00:02Z INFO listener-app.worker.kubernetesworker Scaling ephemeral runner set {"assigned job": 0, "decision": 5, "min": 5, "max": 20, "currentRunnerCount": 5 │
│ 2024-09-17T05:00:02Z INFO listener-app.worker.kubernetesworker Ephemeral runner set scaled. {"namespace": "prosper-gha-runners", "name": "prosper-linux-prod-hfdr6", "repli │
│ 2024-09-17T05:00:02Z INFO listener-app.listener Getting next message {"lastMessageID": 4161}