AKS EE-K3S is not able to pull image from dockerhub

Saddam Shaik 0 Reputation points
2023-09-03T11:03:38.62+00:00

Hello, When I tried to pull an image from dockerhub using AKS EE - K3S giving me below error:

Events:
  Type     Reason     Age               From               Message
  ----     ------     ----              ----               -------
  Normal   Scheduled  50s               default-scheduler  Successfully assigned default/nginx to wain01507-ledge
  Warning  Failed     20s               kubelet            Failed to pull image "docker.io/library/nginx:latest": rpc error: code = DeadlineExceeded desc = failed to pull and unpack image "docker.io/library/nginx:latest": failed to resolve reference "docker.io/library/nginx:latest": failed to do request: Head "https://registry-1.docker.io/v2/library/nginx/manifests/latest": dial tcp 44.205.64.79:443: i/o timeout
  Warning  Failed     20s               kubelet            Error: ErrImagePull
  Normal   BackOff    20s               kubelet            Back-off pulling image "docker.io/library/nginx:latest"
  Warning  Failed     20s               kubelet            Error: ImagePullBackOff
  Normal   Pulling    7s (x2 over 50s)  kubelet            Pulling image "docker.io/library/nginx:latest"

Since I didn't get much info from MSDN/internet, not able to fix this issue. Can someone help me with this blocker?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,664 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vinodh247 18,101 Reputation points
    2023-09-03T14:29:13.7766667+00:00

    Hi Saddam Shaik:

    At the first level please check if there are any typo, image and tag does exist, credentials etc. All these points including some more vital points are discussed in the link below with steps to troubleshoot.

    https://www.airplane.dev/blog/kubernetes-imagepullbackoff

    Please 'Upvote' and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.