无法使用策略拉取映像:映像拉取失败

时间:2021-06-30 13:31:16

标签: docker kubernetes gitlab

从 Artifactory 存储库中提取图像时出现以下错误。我正在使用 Gitlab Runner 来设置配置

Waiting for pod sai/runner-dan3u2t-project-9879-concurrent-0zdmgf to be running, status is Pending
    ContainersNotReady: "containers with unready status: [build helper svc-0]"
    ContainersNotReady: "containers with unready status: [build helper svc-0]"

WARNING: Failed to pull image with policy "": image pull failed: Back-off pulling image "aie-docker-dev-mydockerrepo/python:3.6-strech"
ERROR: Job failed (system failure): prepare environment: waiting for pod running: pulling image "aie-docker-dev-mydockerrepo/python:3.6-strech": image pull failed: Back-off pulling image "aie-docker-dev-mydockerrepo/python:3.6-strech"

下面是我用来创建gitlab runner的值文件

gitlabUrl: 'https://gitlab.bayer.com/'
runnerRegistrationToken: **********
rbac:
  create: false
  serviceAccountName: ************
serviceAccount.name: *************


resources:
  limits:
    memory: 16000Mi
    cpu: 2000m
  requests:
    memory: 16000Mi
    cpu: 2000m

runners:
  privileged: true

我应该更改值文件或 gitlab 文件以纠正此问题。知道吗?

0 个答案:

没有答案