我正在尝试在树莓派上的kubernetes集群上运行gitlab-runner。
gitlab管道生成以下输出:
Running with gitlab-runner 10.4.0 (857480b6) on hello-world-gitlab-runner-6548-tq4mr (123)
Using Kubernetes namespace: gitlab
Using Kubernetes executor with image arm32v7/node ...
Waiting for pod gitlab/runner-123-project-456-concurrent-789 to be running, status is Pending
Waiting for pod gitlab/runner-123-project-456-concurrent-789 to be running, status is Pending
Waiting for pod gitlab/runner-123-project-456-concurrent-789 to be running, status is Pending
ERROR: Job failed (system failure): unable to upgrade connection: container not found ("helper")
gitlab-runner pod记录以下输出:
+ cp /scripts/config.toml /etc/gitlab-runner/
+ /entrypoint register --non-interactive --executor kubernetes
Running in system-mode.
Registering runner... succeeded runner=xyz
Runner registered successfully. Feel free to start it, but if it's running already the config should be automatically reloaded!
+ /entrypoint run --user=gitlab-runner --working-directory=/home/gitlab-runner
Starting multi-runner from /etc/gitlab-runner/config.toml ... builds=0
Running in system-mode.
Configuration loaded builds=0
Metrics server disabled
Checking for jobs... received job=63348569 repo_url=https://gitlab.com/mypublicaccount/helloworld-docker.git runner=123
ERROR: Job failed (system failure): unable to upgrade connection: container not found ("helper") job=456 project=789 runner=123
Checking for jobs... received job=456 repo_url=https://gitlab.com/mypublicaccount/helloworld-docker.git runner=789
ERROR: Job failed (system failure): unable to upgrade connection: container not found ("helper") job=123 project=456 runner=789
有解决这个问题的主意吗?
最佳答案
我设法指定了助手容器版本(我的运行器配置了helm chart和values.yaml)-官方图像支持ARM
runners:
helpers:
image: gitlab/gitlab-runner-helper:arm-latest
关于raspberry-pi - 覆盆子pi上kubernetes上的gitlab-runner-找不到容器 “helper”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49873157/