raspberry-pi - 覆盆子pi上kubernetes上的gitlab-runner-找不到容器 “helper”

标签 raspberry-pi arm kubernetes gitlab 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")

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 chartvalues.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/

相关文章:

linux - Init.d 脚本导致启动挂起

c++ - 获取键盘使用代码,如何从 read() 发送触发器

c - 尽管包含 'strnlen',但未定义对 "string.h"的引用

ssl - Kubernetes tls 证书 issier 未颁发

raspberry-pi - hcitool lescan 显示 I/O 错误

使用共享库交叉编译

java - Java VM 何时支持 Linux ARM 的垃圾优先 (G1) 收集器?

azure - 激活 RBAC 和 AAD 集成后,如何授予服务主体对 AKS API 的访问权限?

apache-spark - 如何将 Spark 应用程序 jar 文件部署到 Kubernetes 集群?

linux-kernel - Raspberry Pi 4 U-Boot 在启动时卡在启动内核中