imagegoogle-cloud-platformcontainersgoogle-kubernetes-enginepull

Error: ImagePullBackOff and Error: ErrImagePull errors with GKE


I'm getting the following error when kubectl apply a .yaml to deploy a custom built docker image to our cluster in GCP (edited out sensitive info):

enter image description here

Have tried the following but no luck:

Weird thing is, we have a dev. environment which is the exact same (using terraform to spin up the infra) and using the same files + images (obviously different projects so required things have been changed to match that) and no issues.


Solution

  • This happen usually when your cluster:

    Basically the error is that the node is not able to pull the image from the registry. You might have two cases: