Activity log for bug #1968830

Date Who What changed Old value New value Message
2022-04-13 05:21:12 DingGGu bug added bug
2022-04-13 05:51:17 DingGGu description https://cloud-images.ubuntu.com/aws-eks/ Since Ubuntu EKS 1.22 AMI, containerd has become the default container runtime. When the node receives DiskPressure,kubelet gc the unused image. I faced pause container image has been removed from during operation. After the pause container is deleted, the node can no longer create pods. (related with containerd does not support ecr native image pull) kubelet has a pod-infra-container-image flag, which prevents gc to suspend container images. Edit the bootstrap.sh file so that the pod-infra-container-image flag is set in all container runtimes. I am using bootstrap.sh by modifying it. mv /etc/eks/bootstrap.sh /etc/eks/bootstrap.sh.orig sed "s,container-runtime-endpoint=unix:///run/containerd/containerd.sock,container-runtime-endpoint=unix:///run/containerd/containerd.sock pod-infra-container-image=" \$PAUSE_CONTAINER",g" < /etc/eks/bootstrap.sh.orig > /etc/eks/bootstrap.sh chmod +x /etc/eks/bootstrap.sh https://cloud-images.ubuntu.com/aws-eks/ Since Ubuntu EKS 1.22 AMI, containerd has become the default container runtime. When the node receives DiskPressure, kubelet gc the unused image. I faced pause container image has been removed during operation. After the pause container is deleted, the node can no longer create pods. (related with containerd does not support ecr native image pull) kubelet has a pod-infra-container-image flag, which prevents gc to a pause container image. Edit the bootstrap.sh file so that the pod-infra-container-image flag is set in all container runtimes. I am using bootstrap.sh by modifying it. mv /etc/eks/bootstrap.sh /etc/eks/bootstrap.sh.orig sed "s,container-runtime-endpoint=unix:///run/containerd/containerd.sock,container-runtime-endpoint=unix:///run/containerd/containerd.sock pod-infra-container-image=" \$PAUSE_CONTAINER",g" < /etc/eks/bootstrap.sh.orig > /etc/eks/bootstrap.sh chmod +x /etc/eks/bootstrap.sh
2022-04-13 12:13:46 Tomáš Virtus cloud-images: assignee Tomáš Virtus (virtustom)
2022-04-13 12:20:26 Tomáš Virtus cloud-images: status New In Progress
2022-04-19 11:42:28 Thomas Bechtold cloud-images: importance Undecided Critical
2022-04-19 11:51:31 Thomas Bechtold cloud-images: status In Progress Fix Committed
2022-04-20 09:17:20 Tomáš Virtus cloud-images: status Fix Committed Fix Released