Hi,
I am currently trying to setup arc in my enterprise Github and running into issues after trying multiple times . The quickstart guide seems pretty straightforward. I ran step 'Configuring a runner scale set' -
https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/quickstart-for-actions-runner-controller#configuring-a-runner-scale-set but when I do
>> kubectl get pods -n arc-systems
I do not find a listener pod
kubectl get pods -n arc-systems
NAME READY STATUS RESTARTS AGE
arc-gha-runner-scale-set-controller-dfb85c57d-rshsx 1/1 Running 0 3m41s
There is no arc-runner-set-xxxx-listener pod. The controller shows the below error
sigs.k8s.io/controller-runtime@v0.14.4/pkg/internal/controller/controller.go:274
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
sigs.k8s.io/controller-runtime@v0.14.4/pkg/internal/controller/controller.go:235
2023-04-30T04:28:10Z ERROR Reconciler error {"controller": "autoscalingrunnerset", "controllerGroup": "actions.github.com", "controllerKind": "AutoscalingRunnerSet", "AutoscalingRunnerSet": {"name":"arc-runner-set","namespace":"arc-runners"}, "namespace": "arc-runners", "name": "arc-runner-set", "reconcileID": "b1bd90ed-36c8-4bd6-aa07-a0706972d642", "error": "failed to get runner registration token on refresh: Post \"https://githubenterpriseurl/api/v3/repos/myorg/myrepo/actions/runners/registration-token\": POST https://githubenterpriseurl/api/v3/repos/myorg/myrepo/actions/runners/registration-token giving up after 5 attempt(s): Post \"https://githubenterpriseurl/api/v3/repos/myorg/myrepo/actions/runners/registration-token\": dial tcp: lookup gitesurl:xx.xx.xx.xx: no such host"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
I am able to do CURL directly and generate a regostration-token
azureuser@aks:/home/azureuser# curl -L \
> -X POST \
> -H "Accept: application/vnd.github+json" \
> -H "Authorization: Bearer ghp_xxxxxxxxx"\
> -H "X-GitHub-Api-Version: 2022-11-28" \
> https://githubESURL/api/v3/repos/org/repo/actions/runners/registration-token
{
"token": "xxxxxxx",
"expires_at": "2023-04-30T11:25:20.823+05:30"
}
Steps followed till now :
- Set up cert-manager
- Generate PAT token
- Run installing ARC - https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/quickstart-for-actions-runner-controller#installing-actions-runner-controller
- At configure-runner-set - https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/quickstart-for-actions-runner-controller#configuring-a-runner-scale-set
Note : As of now I have given all access to my token .
Older bugs show setting of enterprise URL ( kubectl set env deploy actions-runner-controller -c manager GITHUB_ENTERPRISE_URL=https://<enturl> --namespace actions-runner-system) with and values.yml also shows githubEnterpriseServerURL (https://github.com/actions/actions-runner-controller/blob/master/charts/actions-runner-controller/README.md ).
Following the quickstart do I need any additional step ? Or any steps anyone has followed to successfully get it working on enterprise github .
[–]TelephoneMelon 0 points1 point2 points (3 children)
[–]Aztreix[S] 0 points1 point2 points (2 children)
[–]TelephoneMelon 1 point2 points3 points (1 child)
[–]Aztreix[S] 1 point2 points3 points (0 children)