bbh*_*zbb 1 arm raspberry-pi gitlab kubernetes gitlab-ci-runner
我正在尝试在树莓派上的 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")
Run Code Online (Sandbox Code Playgroud)
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
Run Code Online (Sandbox Code Playgroud)
有什么想法可以解决这个问题吗?
我设法指定了辅助容器版本(我的运行器配置了helm chart和values.yaml)-官方镜像支持 ARM
runners:
helpers:
image: gitlab/gitlab-runner-helper:arm-latest
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
1236 次 |
最近记录: |