Skip to content

InvalidImageName

The kubelet couldn’t parse the image reference. Nothing was sent to any registry, and this won’t fix itself with retries.

Print the reference exactly as the pod sees it: kubectl get pod <pod> -o jsonpath='{.spec.containers[*].image}'. Templating mistakes are the usual source, so look for empty variables (registry.example.com/web:), doubled slashes, or stray whitespace.

Looks like Problem
team/Web:1.0 Repository names must be lowercase
web: or web:@sha256: An empty tag from a template variable that wasn’t set
https://registry/web:1.0 A scheme isn’t allowed in an image reference
web:1.0 Trailing whitespace from a values file

Correct the reference in the source (Helm values, Kustomize image overrides, or the pipeline variable that produced it), and make your pipeline fail when an image variable is empty instead of deploying it.