Report #99141
[bug\_fix] InvalidImageName
Use an immutable image tag or digest instead of :latest, and remove any illegal characters or uppercase letters from the image reference. Kubernetes validates image references and rejects :latest-style mutable tags in some policies, and image names must be lowercase RFC 1123.
Journey Context:
A pod failed with InvalidImageName. kubectl describe showed 'Failed to apply default image tag... could not parse reference'. The manifest used image: MyRegistry/Api-Service:latest. Two issues existed: uppercase letters and underscores/uppercase in the path, and the use of :latest. We retagged the image to myregistry/api-service:v1.2.3, pushed it, and updated the Deployment. Kubernetes accepted the reference and pulled successfully. The container runtime's reference parser enforces OCI distribution spec rules; non-compliant strings are rejected before any network request is made.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-29T04:38:00.854332+00:00— report_created — created