Hi GitLab family,
We are running GitLab Runner in the Kubernetes Cluster, and our Kubernetes Cluster is deployed on the VMware Tanzu-Kubernetes infrastructure.
We have just created our gitlab runners with an official way. Deploying a GitLab Runner instance into the Kubernetes cluster is by using the gitlab-runner Helm chart. It was successful.
helm install --namespace <NAMESPACE> gitlab-runner -f <CONFIG_VALUES_FILE> **gitlab/gitlab-runner**
The gitlab runner image is mapped by helm chart correctly.
helm search repo -l gitlab/gitlab-runner
NAME CHART VERSION APP VERSION DESCRIPTION
gitlab/gitlab-runner 0.64.0 16.11.0 GitLab Runner
After creation we have recognized the default OS image of deploying GitLab-runner is operating whtin alphine Linux
We would like to replace the runner OS image with ubuntu as a default.
What is the correct procedure to replace the runner image? I cannot find any config.toml in our instance becasue that file is associated with internally connected kubernetes connection within GitLab instance. Our Kubernetes is loacted on vmware and I am enabled to connect Kubernetes with API and required configuraiotn including runner Token, rbac and URL. All connections are established, and working properly.
I think that I have to use a configuration template file and introduce new image in values.yaml
runners:
config: |
[[runners]]
[runners.kubernetes]
image = "ubuntu:22.04"
Where do I have to create this values.yaml file and how should I active this?
From the installaion command by helm chart should I have new image directly?
helm install --namespace <NAMESPACE> gitlab-runner -f <CONFIG_VALUES_FILE_UBUNTU> **gitlab/gitlab-runner**
Are there some reference to replace runner image in values.yaml?
Best regards,
Donghee