This TIL is about finding failed jobs in kubernetes. You can find any failed job by setting a --field-selector.

Example

1
kubectl get job -A --field-selector status.successful=0 -o name

Furthermore you can delete them with:

1
kubectl delete job -A --field-selector status.successful=0