Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Following quickstart guide does not result in any runners being created #3948

Closed
4 tasks done
Time0o opened this issue Feb 26, 2025 · 0 comments
Closed
4 tasks done
Labels
bug Something isn't working gha-runner-scale-set Related to the gha-runner-scale-set mode needs triage Requires review from the maintainers

Comments

@Time0o
Copy link

Time0o commented Feb 26, 2025

Checks

Controller Version

0.10.1

Deployment Method

Helm

Checks

  • This isn't a question or user support case (For Q&A and community support, go to Discussions).
  • I've read the Changelog before submitting this issue and I'm sure it's not due to any recently-introduced backward-incompatible changes

To Reproduce

Follow the guide under https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/quickstart-for-actions-runner-controller exactly

Describe the bug

This is really unbelievable since not too long ago this exact same setup at least partially worked. After following the quickstart guide using the following script:

#!/bin/bash

set -e

if [[ $# -lt 1 ]]; then
  echo "Usage: $0 <github-org>"
  exit 1
fi

GITHUB_ORG="$1"

if [[ -z "$GITHUB_PAT" ]]; then
  echo "'GITHUB_PAT' is not set"
  exit 2
fi

helm install arc \
  --namespace "arc-systems" \
  --create-namespace \
  -f values.yml \
  oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller

helm install "arc-runner-set" \
  --namespace "arc-runners" \
  --create-namespace \
  --set githubConfigUrl="https://github.com/$GITHUB_ORG" \
  --set githubConfigSecret.github_token="$GITHUB_PAT" \
  oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set

With the following values.yml:

containerMode:
  type: "dind"

minRunners: 1
maxRunners: 5

I can see that pods are up:

k8s-admin@k8s-vm:~$ kubectl get pods -n arc-systems
NAME                                     READY   STATUS    RESTARTS   AGE
arc-gha-rs-controller-7645b47cd5-tgmdx   1/1     Running   0          8m17s
arc-runner-set-754b578d-listener         1/1     Running   0          8m10s

But both kubectl get autoscalingrunnersets -n arc-runners and kubectl get ephemeralrunnersets -n arc-runners return nothing. I have not been able to located errors in any logs, how is this possible?

Describe the expected behavior

At the very least I'd like to see:

MINIMUM RUNNERS   MAXIMUM RUNNERS   CURRENT RUNNERS
1                                     5                                     1

Additional Context

containerMode:
  type: "dind"

minRunners: 1
maxRunners: 5

Controller Logs

https://gist.github.com/Time0o/f33cf4bf5891dfa8ebe0e26c03909892

Runner Pod Logs

No runner pods are created!!!
@Time0o Time0o added bug Something isn't working gha-runner-scale-set Related to the gha-runner-scale-set mode needs triage Requires review from the maintainers labels Feb 26, 2025
@Time0o Time0o closed this as not planned Won't fix, can't repro, duplicate, stale Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gha-runner-scale-set Related to the gha-runner-scale-set mode needs triage Requires review from the maintainers
Projects
None yet
Development

No branches or pull requests

1 participant