글

라벨이 kubernetes인 게시물 표시

ImagePullBackOff in Kubernetes: 12 Causes and How to Fix Each

이미지
ImagePullBackOff is not the error. It is the kubelet telling you that it already failed to pull your container image several times and is now waiting before it tries again, so the real message is one line above it in the pod events. The pull happens on the node , using the node's DNS, the node's network path, and the credentials you handed the kubelet - not from the machine you ran kubectl apply on. That single fact explains most of the confusing cases: the image pulls fine on your laptop and still fails in the cluster. This page gives you the one command that reveals the actual failure, the fastest fix for the common case, then 12 distinct causes - wrong tag, missing or misplaced pull secret, Docker Hub rate limits, expiring registry tokens, architecture mismatch, blocked egress, private CA, full disk - each with a reproduction, the corrected lines, and a way to confirm it is really fixed. Error STATUS: ImagePullBackOff, preceded in the pod events by: Warning Failed...

CrashLoopBackOff in Kubernetes: 10 Causes and Fixes

이미지
Your pod is stuck in CrashLoopBackOff and the restart counter keeps climbing. CrashLoopBackOff is not itself an error — it is the kubelet telling you that your container started, exited, and got restarted , repeatedly, and that the kubelet is now waiting longer between each attempt. That distinction matters because it means the real error is somewhere else: in the container's exit code, in its last log lines, or in the events attached to the pod. The status is a symptom. Your job is to find the thing that made the process die. This page walks through the two commands that surface the actual failure, then ten causes ordered by how often they bite in production — each with a manifest or command that reproduces it, the fix, and a way to confirm the fix took. Error CrashLoopBackOff Where it happens Kubernetes — any distribution (EKS, GKE, AKS, k3s, minikube, kind); reported by the kubelet in kubectl get pods STATUS, any container runtime What it means The container's m...