Kubernetes - Error message ImagePullBackOff when deploy a pod
The Image tux/gps:latest does not exist because its a dummy value.Solution to ImagePullBackoff:
- Make sure that your Image points to latest version repouser/reponame:latest
- Create a secret docker-registry (look above)
- Server address[docker-hub registry]
- Add the following propertie in pod yaml file (look above):
imagePullSecrets:
- name: secretkey
The issue was caused due to the wrong value of key pods.spec.containers.image
.
The image property of a container supports the same syntax as the docker command does, including private registries and tags.
imagebackpulloff
might be caused because of the following reasons:
- The image or tag doesn’t exist
- You’ve made a typo in the image name or tag
- The image registry requires authentication
- You’ve exceeded a rate or download limit on the registry