metric is confusing and I am not understanding what it is doing #2663
Unanswered
mrdeshapiro
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying:
spec:
minReplicas: 1
maxReplicas: 10
scaleTargetRef:
kind: RunnerDeployment
name: ghrunner
#scaleDownDelaySecondsAfterScaleOut: 300
metrics:
repositoryNames:
I was expecting to see 1 runner. For some reason it shows 2 and then climbs to 10 pretty quick. There are no workflows calling for a runner since this is a test org I am using and can control that. Why did it bring up 10?
What am I missing? Note that the full yaml is as follows:
`# runner-auto-webhook.yml
apiVersion: actions.summerwind.dev/v1alpha1
kind: RunnerDeployment
metadata:
name: ghrunner
namespace: actions-runner-system
spec:
template:
spec:
apiVersion: actions.summerwind.dev/v1alpha1
kind: HorizontalRunnerAutoscaler
metadata:
name: ghrunner-runner-autoscalar
spec:
minReplicas: 1
maxReplicas: 10
scaleTargetRef:
kind: RunnerDeployment
name: ghrunner
#scaleDownDelaySecondsAfterScaleOut: 300
metrics:
repositoryNames:
Beta Was this translation helpful? Give feedback.
All reactions