I tried making ARC as solution for runner pools for Github Actions
extract
<!-- SC_OFF --><div class="md"><p>When I was early stage of building , finding out the solution for runners for Github actions , I came across arc <a href="https://github.com/actions/actions-runner-controller">https://github.com/actions/actions-runner-controller</a><br /> Studied 2 approaches webhook and polling , but stuck at parameter of cost as node need to be run 24*7.<br /> To be honest it was beautiful solution , job is queued -->ARC spins up pod -->autoscaler adds a node --> node joins --> pod schedules -->runner registers --> job finally starts.</p> <p>Learnt quite good concepts , how CRDs work , reconcile loop works to be precise . If anyone looping in the code side of arc , try going through webhook part , because polling is outdated. Also github imposes rate limiting. <a href="https://docs.github.com/en/graphql/overview/rate-limits-and-query-limits-for-the-graphql-api">https://docs.github.com/en/graphql/overview/rate-limits-and-query-limits-for-the-graphql-api</a><br /> If you have time go through Runner deployment and Horizontal runner autoscaler .</p> <p>For simplicity , there is one listener that help controller to create resources and when job is done pod is terminated .</p> <p>Have you guys worked with arc ? Ps : Pls correct me if am wrong </p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/Able-Weather-883"> /u/Able-Weather-883 </a> <br /> <span><a href="https://www.reddit.com/r/devops/comments/1tttm47/i_tried_making_arc_as_solution_for_runner_pools/">[link]</a></span>   <span><a href="https://www.reddit.com/r/devops/comments/1tttm47/i_tried_making_arc_as_solution_for_runner_pools/">[comments]</a></span>
retained text
No document body was retained for this record — only its metadata was stored.