actions / actions-runner-controller

Kubernetes controller for GitHub Actions self-hosted runners
Apache License 2.0
4.76k stars 1.12k forks source link

Scale-down triggered during pod startup delays #3581

Closed kahirokunn closed 5 months ago

kahirokunn commented 5 months ago

Checks

Controller Version

0.9.1

Deployment Method

ArgoCD

Checks

To Reproduce

Provision a new Node or Start the Runner Pod slowly.

Describe the bug

When there is a delay in starting the Runner Pod (e.g., when a new Node is being provisioned), a scale-down is triggered, resulting in the termination of the Runner Pod before it can handle any Jobs. Setting minRunners to 1 prevents the scale-down from being triggered. This issue does not occur when using version 0.8.3.

Describe the expected behavior

The expected behavior is that the Runner Pod should not be scaled down during startup delays, allowing it to handle Jobs once it is ready.

Additional Context

TODO

Controller Logs

TODO

Runner Pod Logs

TODO
nikola-jokic commented 5 months ago

Hey @kahirokunn,

This is a duplicate of https://github.com/actions/actions-runner-controller/issues/3450

kahirokunn commented 5 months ago

Oh thx