Menu

Why Kubernetes Recreate Deployments Stop on Image Not Found
📰

Why Kubernetes Recreate Deployments Stop on Image Not Found

DEV Community: kubernetes·orca forge·9 days ago
#wcNy4kPj
Long article (1095 words) — no AI summary yet.
Reading 0:00
15s threshold

📝 Originally published (in Japanese) at forge.workstyle.tech .

TL;DR: A Kubernetes Recreate deployment stopped when a new container image returned not found . The image was present in the registry, but connections from production nodes timed out. Measuring the registry path and avoiding image pulls during deployment helped in some cases.

TL;DR

When a Recreate deployment stalled on Kubernetes with not found , the image was present in the registry, but the connection from the production node to the registry was timing out. Changing the pull policy to IfNotPresent avoided re-pulling an existing image. Preloading the image onto the target node before the Recreate deployment also helped avoid pulling it during deployment. The root cause of the network issue is still unknown.

Why Did not found Stop the Recreate?

not found alone doesn’t tell you whether the image is missing from the registry or the registry is unreachable.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.