Chapter 15: Kubernetes Introduction
15.10 Troubleshooting table
| Symptom | Likely cause | What to try |
|---|---|---|
| ImagePullBackOff | Private image / wrong tag / no pull secret | Verify tag; kind load docker-image for local images |
| CrashLoopBackOff | App exits | kubectl logs; fix CMD/env |
| Service has no endpoints | Label selector mismatch | kubectl get pods --show-labels; fix labels |
| Pending Pod | Resources / kind node issue | describe Events |
| port-forward connection refused | Wrong svc port / pod not Ready | get pods; check readiness |
Local images on kind: if you did not push to a registry, kind load docker-image my:tag --name badge-api is a common pattern — confirm with current kind docs.