horizontalrunnerautoscaler keeps saying 0 for all stats #2619
frenchdude2000
started this conversation in
General
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.
-
We are trying to install github runner autoscaling and we see
horizontalrunnerautoscaler Suggested desired replicas of 0 by TotalNumberOfQueuedAndInProgressWorkflowRuns {"workflow_runs_completed": 0, "workflow_runs_in_progress": 0, "workflow_runs_queued": 0, "workflow_runs_unknown": 0, "namespace": "github-actions", "kind": "runnerdeployment", "name": "devops-gha-runner-deploy-as", "horizontal_runner_autoscaler": "devops-gha-runner-deploy-as"}
however the api calls says there are completed jobs and sometimes jobs in queue.
if I manually change the number of runners it does deploy them at the right location (meaning correct repo) and runs properly so I believe all my settings are correct. how can I debug this ?
apiVersion: actions.summerwind.dev/v1alpha1
kind: RunnerDeployment
metadata:
name: devops-gha-runner-deploy-as
namespace: github-actions
spec:
template:
spec:
labels:
- devops
repository: /DevOps
serviceAccountName: devops-gha-runner-deploy
automountServiceAccountToken: true
apiVersion: actions.summerwind.dev/v1alpha1
kind: HorizontalRunnerAutoscaler
metadata:
name: devops-gha-runner-deploy-as
namespace: github-actions
spec:
scaleTargetRef:
kind: RunnerDeployment
name: devops-gha-runner-deploy-as
minReplicas: 0
maxReplicas: 6
metrics:
- type: TotalNumberOfQueuedAndInProgressWorkflowRuns
repositoryNames:
- DevOps
Beta Was this translation helpful? Give feedback.
All reactions