goInception icon indicating copy to clipboard operation
goInception copied to clipboard

Failed to pull image "busybox:1.28" in China region

Open visla-xugeng opened this issue 7 months ago • 0 comments

Describe the bug I cannot pull the image, busybox from docker hub since the installation of goinception is located in China region. As a result, the installation of the pod failed. (The installation of the chart, Archery failed as well since the GoInception is the dependent component in the chart. )

The error message:

Warning  Failed     8m58s                kubelet            Failed to pull image "busybox:1.28": rpc error: code = DeadlineExceeded desc = failed to pull and unpack image "docker.io/library/busybox:1.28": failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/8c/8c811b4aec35f259572d0f79207bc0678df4c736eeec50bc9fec37ed936a472a/data?verify=1720569708-gzd6e4N02XY2q7mYmaFqdBj68Y8%!D(MISSING)": dial tcp 210.56.51.192:443: i/o timeout
  Normal   Pulling    8m7s (x4 over 11m)   kubelet            Pulling image "busybox:1.28"
  Warning  Failed     7m32s (x4 over 10m)  kubelet            Error: ErrImagePull
  Warning  Failed     7m32s                kubelet            Failed to pull image "busybox:1.28": rpc error: code = DeadlineExceeded desc = failed to pull and unpack image "docker.io/library/busybox:1.28": failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/8c/8c811b4aec35f259572d0f79207bc0678df4c736eeec50bc9fec37ed936a472a/data?verify=1720569794-AzvwAlCT2SD6yA%!B(MISSING)oDTknxs3918s%!D(MISSING)": dial tcp 210.56.51.192:443: i/o timeout
  Warning  Failed     7m20s (x6 over 10m)  kubelet            Error: ImagePullBackOff

I checked the deployment of goinception(see link below). The address of busybox is hard coded. Can someone in team change it to an variable? Then I can modify the value to a local repo in China region instead of pointing to the docker hub directly.

charts/charts/goinception/templates/deployment.yaml

Line 31 in 3fa7828

image: busybox:1.28 To Reproduce Follow the https://github.com/douban/charts/tree/master/charts/archery to install the Archery chart in China region, you will see the issue.

Expected behavior Want to install the goinception pod in China region successfully.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

visla-xugeng avatar Jul 09 '24 23:07 visla-xugeng