无法使用策略“”拉取映像:映像拉取失败:回退拉取映像“<image_name>”

时间:2021-06-30 12:56:23

标签: docker kubernetes gitlab artifactory

我收到以下错误

Running with gitlab-runner 14.0.0 (3b6f852e)
  on gitlab-runner-artefactory-gitlab-runner-68f94fd89-pnd6g DaN3U_2T
Preparing the "kubernetes" executor
00:00
Using Kubernetes namespace: sai
Using Kubernetes executor with image aie-docker-dev-mydockerrepo/python:3.6-strech ...
Using attach strategy to execute scripts...
Preparing environment
00:06
Waiting for pod sai/runner-dan3u2t-project-9879-concurrent-0zdmgf to be running, status is Pending
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". Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information

我正在尝试使用 gitlab runner 运行作业。失败的可能原因是什么?我发现可以设置 ImagePullSecret 但我不确定在哪里使用它?有人有想法吗?

0 个答案:

没有答案