diff --git a/pkg/pod/status.go b/pkg/pod/status.go index bc1a31c6b6e..48004daa9bf 100644 --- a/pkg/pod/status.go +++ b/pkg/pod/status.go @@ -400,7 +400,8 @@ func DidTaskRunFail(pod *corev1.Pod) bool { } } } - return false + // when the node shutdown the pod will be in Terminating and be deleted + return pod.DeletionTimestamp != nil } // IsPodArchived indicates if a pod is archived in the retriesStatus.