actions / actions-runner-controller

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

AutoscalingListener controller: Inspect listener container state instead of pod phase #3548

Closed nikola-jokic closed 1 week ago

nikola-jokic commented 1 month ago

If the listener pod template is applied with the side-car, inspecting the pod state can cause the listener pod to stay up, even when listener crashes. This change aims to check the listener container state, and react on termination signals by the listener container.