Closed anbraten closed 3 months ago
It would be helpful to restrict autoscalers to only care for workflows with specific labels. This would for example allow to start an autoscaler per architecture or specific region, ...
Related to: https://github.com/woodpecker-ci/woodpecker/issues/2803
@lerentis implemented sth like this in an alternative autoscaler using the existing endpoints: https://github.com/Lerentis/woodpecker-autoscaler/blob/main/internal/woodpecker/metrics.go#L49-L55
implemented by #134
It would be helpful to restrict autoscalers to only care for workflows with specific labels. This would for example allow to start an autoscaler per architecture or specific region, ...
Related to: https://github.com/woodpecker-ci/woodpecker/issues/2803
@lerentis implemented sth like this in an alternative autoscaler using the existing endpoints: https://github.com/Lerentis/woodpecker-autoscaler/blob/main/internal/woodpecker/metrics.go#L49-L55