Replies: 3 comments 2 replies
-
Yes I faced same issue, anyone can help? |
Beta Was this translation helpful? Give feedback.
-
I've just run into this myself. It looks like the deployment.yaml args for actions-runner-controller contains the argument brought in from the chart's values, but the scale set deployment does not. I'm not sure if the scale set controller is capable. However, I also just found the entrypoint-dind.sh script for the runner will use a provided DOCKER_REGISTRY_MIRROR environment var, if provided, independently of the a controller configuration. I'm going to give it a shot, and will report back. |
Beta Was this translation helpful? Give feedback.
-
In my case, I solved it by adding docker mirror register as a parameter. - image: docker:dind
name: dind
args:
- dockerd
- '--host=unix:///run/docker/docker.sock'
- '--group=$(DOCKER_GROUP_GID)'
- '--registry-mirror=https://mirror.gcr.io'
env:
- name: DOCKER_GROUP_GID
value: '123'
If this PR is merged, I think we can solve it neatly with the helm chart values. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm currently working on deploying the Actions-runner-controller on Kubernetes using official GitHub supported Helm Packges. For this, I've followed the guide Deploying runner scale sets.
My using packeges:
Issue 1: Proxy Configuration
While the installation process was largely seamless and I can successfully execute actions on GHE, I've encountered challenges when running actions that involve Docker commands. Specifically, there's a failure in downloading images, resulting in timeouts. Upon inspecting the environments variables in the dind container, I noticed that the proxy settings are absent. However, these settings are present and visible in the runner container, as detailed in custom-values.yaml.
Issue 2: Certificate Configuration
I've set up a configmap with our root_ca.crt (in PEM format) and referenced it in custom-values.yaml. However, when pulling Docker images from our Artifactory using the dind container, I'm confronted with an x509 error. Why aren't the certificates functioning within the container? I've noticed a similar issue with the runner container.
Issue 3: Docker Registry Mirror
I'm looking to specify our own Docker registry mirror. Currently, images are being sourced from https://registry-1.docker.io/v2/. Our goal is to utilize our Docker Registry to avoid potential rate limiting. However, I'm unable to locate the
dockerRegistryMirror
variable within thegha-runner-scale-set
andgha-runner-scale-set-controller
charts.Could someone guide me on how to direct our runners to fetch images directly from our custom dockerRegistryMirror?I hope someone can assist me with this issue. Thank you in advance!
Job log:
Technical Details:
Installation Setps:
Install action-runner-controller
Create configmap for certifcate
Secret für token erstellen
Install gha-runner-scale-set
Configuration File (my-value.yaml):
Beta Was this translation helpful? Give feedback.
All reactions