Hints: imagepullbackoff¶
Hint 1¶
The pod can't pull its container image. Check events:
- kubectl describe pod -n grokdevops <pod> | grep -A3 "Failed"
Hint 2¶
It's an image issue. Check what image is configured:
- kubectl get deployment grokdevops -n grokdevops -o jsonpath='{.spec.template.spec.containers[0].image}'
- Does the image exist? Is the tag correct?
Hint 3¶
Check if the image is available locally or needs to be built:
- docker images | grep grokdevops
- Is imagePullPolicy set to Always when you need IfNotPresent?
- Is there a typo in the image name or registry URL?
Hint 4¶
Fix: either rebuild the image (make build) and set imagePullPolicy to IfNotPresent, or correct the image tag in values.yaml and re-deploy.