Kubernetes kind not able to pull image

prasad


i am using kind to setup kubernetes cluster in my local i have loaded redis:5.0.7 image to kind by using below command kind load docker-image redis:5.0.7 --name kind for the first time it gave me success
now it's not able to pull/load that image while deploying pod. Below is my pod definition

apiVersion: v1
kind: Pod
metadata:
  name: redis-pod
  labels:
    app: redis
spec:
  containers:
    - name: redis-ctr
      image: reids:5.0.7
      imagePullPolicy: IfNotPresent


i am getting below error

Warning  Failed     4s    kubelet, kind-control-plane  Failed to pull image "reids:5.0.7": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/library/reids:5.0.7": failed to resolve reference "docker.io/library/reids:5.0.7": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

when i tried similar steps for my custom image it worked but for redis insufficient_scope: authorization failed
even in kind documentation also mentioned that this issue occurs when you don't mention cluster name while loading the image to kind but i have provided name correctly
Can anyone please help me ?
Thanks

Tushar Mahajan

I guess the image you have by mistake placed

 reids:5.0.7

at place of

redis:5.0.7

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

kubernetes not able to pull image from spark master host

not able to pull ansible image

Kind kubernetes cluster failed to pull docker images

Angular in Kubernetes failing to pull image

Not able to pull zeppelin-server image

kubectl not able to pull the image from private repository

Kubernetes fails to pull image with unknown blob error

Kubernetes Minikube on Windows Pod failed to pull image

How to retry image pull in a kubernetes Pods?

Pull a local image to run a pod in Kubernetes

Kubernetes Failed to pull image no basic auth credentials

Pull image Azure Container Registry - Kubernetes

Kubernetes Cannot pull image from Artifactory

Pull image from ECR to Kubernetes deployment file

Not able to pull image from AWS ECR on my ECS instance

SwiftUI: Horizontal scrollview I am able to pull image up and down

Is there a kubernetes cronjob kind which allows multiple schedules for a single container image?

kubernetes create deployment using docker local image - image pull failed

Error: ErrorImagePull. Not able to pull images from private Docker registry using Kubernetes

Kubernetes containerd - failed to pull image from private registry

Kubernetes pull image from private insecure registry fails

Kubernetes: Failed to pull image from private container registry

Kubernetes does not pull docker image from private repository without https

Kubernetes: --image-pull-policy always does not work

How do I force Kubernetes to re-pull an image?

Are multiple imagePullSecrets allowed and used by Kubernetes to pull an image from a private registry?

Docker pull image without ssl in Kubernetes with docker private registry

Cannot pull image from remote Gitlab registry to Kubernetes

Unable to pull docker image from artifactory repo to Kubernetes cluster