This error indicates that a pod created by a job has failed to complete successfully, typically due to application errors, resource issues, or configuration problems.
The "Job pod failed" error means that a pod created by your job exited with a non-zero exit code or encountered a fatal error.
kubectl describe pod <failed-pod>
kubectl logs <pod-name>
kubectl get pod <name> -o jsonpath='{.status.containerStatuses[0].lastState.terminated}'
kubectl get pod <name> -o jsonpath='{.spec.containers[0].resources.limits.memory}'
Keep failed pods for debugging by setting ttlSecondsAfterFinished: 3600.
kubectl delete job <name> --cascade=foreground && kubectl apply -f job.yaml