Skip to content

Commit

Permalink
Update docker-runner-autoscaler.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
shakerg authored Jan 12, 2024
1 parent dce83d5 commit ce75536
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion openshift/manifests/docker-runner-autoscaler.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@

apiVersion: actions.summerwind.dev/v1alpha1
kind: HorizontalRunnerAutoscaler
metadata:
name: openshift-docker-autoscaler
spec:
scaleDownDelaySecondsAfterScaleOut: 300
scaleTargetRef:
name: openshift-docker-runners
minReplicas: 1
maxReplicas: 4
metrics:
- type: PercentageRunnersBusy
scaleUpThreshold: '0.75'
scaleDownThreshold: '0.25'
scaleUpFactor: '2'
scaleDownFactor: '0.5'

0 comments on commit ce75536

Please sign in to comment.