Pods are going into "Image Pull Back Off" error while deployed through JenkinsX

1/30/2020

I am trying to deploy the services through JenkinsX, the build is successful but the pods are going into "Image Pull Back Off" error right after deployment even though the image generated by JenkinsX and the image that the pod is trying to deploy are same.

After I delete the pod after sometime then the pod is coming into "Running" state. So I think the image is available but the pod is unable to pull it right after deployment.

This fails my Sanity Testing every time even though there are no issues with the latest source code changes.

The image size is around 1.25 GB and the issue appears to happen while pulling the images from the Internal Registry.

Image Pull Back Off Error:

Image Pull Back Off Error

Kubectl Events:

kubectl Events

I have updated the "image-pull-progress-deadline" to "10m" as per link - https://github.com/openshift/origin/issues/13122#issuecomment-348415477

But I am unable to restart the kubelet service since it throws the kubelet not found error,

[centos@ind-cicada-master ~]$ sudo systemctl status kubelet
Unit kubelet.service could not be found.

Any suggestion here would be appreciated.

-- Bhavani Prasad
jenkins--x
kubernetes

0 Answers