cruseakshay commented on code in PR #60626:
URL: https://github.com/apache/airflow/pull/60626#discussion_r2707244212


##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/kubernetes_helper_functions.py:
##########
@@ -64,7 +65,10 @@ class KubernetesApiException(AirflowException):
 
 
 def _should_retry_api(exc: BaseException) -> bool:
-    """Retry on selected ApiException status codes, plus plain HTTP/timeout 
errors."""
+    """Retry on transient API errors, HTTP errors, and 
PodPreemptedException."""
+    if isinstance(exc, PodPreemptedException):

Review Comment:
   agreed, thanks for pointing it out, restoring to previous state.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to