Using Kubernetes Event Driver Autoscaling to scale worker pods to 0 based on reading queues or checking APIs. Implemented for Pixelfed, Bookwyrm, and gitea action runners, with the runners scaling up to 4 pods, with examples.

  • HeavenDeparts@lemmygrad.ml
    link
    fedilink
    arrow-up
    2
    ·
    19 hours ago

    Interesting use case for Gitea action runners. In a super small selfhosted context, it makes sense to only scale the resources up the few times they are needed and not have the runners sit idling waiting for a job that may not ever come.