简体   繁体   English

从ACR提取图像时,Kubernetes(在AKS中)出现ImagePullBackOff错误并且驱逐了所有Pod

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

I have an image of size ~ 6GB, which is successfully built by Jenkins and pushed to ACR. 我有一个大小约为6GB的映像,它是由詹金斯(Jenkins)成功构建并推送到ACR的。 When Kubernetes tries to pull the same, I get the ImagePullBackOff error. 当Kubernetes尝试拉相同的东西时,我收到ImagePullBackOff错误。 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 ". 相同的拉动会自动尝试3次,但在第三次中,其他容器被逐出,并显示消息“ DiskPressure True ”,“ kubelet具有磁盘压力 ”。 Node has sufficient disk, sufficient memory, but I am not sure why DiskPressure is True. 节点有足够的磁盘,足够的内存,但是我不确定为什么DiskPressure为True。 I don't have much experience in CI, would someone help in fixing this issue? 我在CI方面没有太多经验,有人会帮助您解决此问题吗?

The configuration is as follows, 配置如下,

  • AKS Cluster AKS集群
  • Kubernetes Version: 1.11.4 Kubernetes版本:1.11.4
  • Cluster has 2 nodes with 4 Core Processor, 16GB RAM, and each node has 30GB Disk space. 群集有2个节点,带有4个核心处理器,16GB RAM,每个节点都有30GB磁盘空间。

Please let me know if further details are required. 如果需要更多详细信息,请告诉我。

in this case the error was due to insufficient space on the nodes. 在这种情况下,错误是由于节点上的空间不足所致。 increasing the space on the disk fixed this error. 增加磁盘上的空间可修复此错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM