juntekim.com/github_runner/install/autoscale.yaml
2025-12-06 12:49:19 +00:00

15 lines
No EOL
441 B
YAML

apiVersion: actions.summerwind.dev/v1alpha1
kind: HorizontalRunnerAutoscaler
metadata:
name: mealcraft-org-autoscaler
namespace: actions-runner-system
spec:
scaleTargetRef:
name: mealcraft-org-runners
minReplicas: 1
maxReplicas: 20 # adjust based on your server size
metrics:
- type: TotalNumberOfQueuedAndInProgressWorkflowRuns
# This applies to ALL MealCraft repos
repositoryNames:
- "MealCraft/*"