ImagePullBackOff error in Kubernetes (in AKS) while pulling image from ACR and all pods are Evicted

1/18/2019

I have an image of size ~ 6GB, which is successfully built by Jenkins and pushed to ACR. When Kubernetes tries to pull the same, I get the ImagePullBackOff error. The same pull is tried for 3 times automatically, but during the third time, other pods were evicted with a message "DiskPressure True", "kubelet has disk pressure". Node has sufficient disk, sufficient memory, but I am not sure why DiskPressure is True. I don't have much experience in CI, would someone help in fixing this issue?

The configuration is as follows,

  • AKS Cluster
  • Kubernetes Version: 1.11.4
  • Cluster has 2 nodes with 4 Core Processor, 16GB RAM, and each node has 30GB Disk space.

Please let me know if further details are required.

-- Aneesh Bhat
azure
azure-container-registry
docker
jenkins
kubernetes

1 Answer

1/18/2019

in this case the error was due to insufficient space on the nodes. increasing the space on the disk fixed this error.

-- 4c74356b41
Source: StackOverflow