amoghrajesh commented on code in PR #77197:
URL: https://github.com/apache/airflow/pull/77197#discussion_r4715798626


##########
providers/cncf/kubernetes/docs/changelog.rst:
##########
@@ -27,6 +27,19 @@
 Changelog
 ---------
 
+.. note::
+    When a retry reattaches to the pod of a previous try and finds it 
``Succeeded``,
+    ``KubernetesPodOperator`` now treats that pod as the finished run instead 
of deleting it and
+    starting a new pod. This applies only with ``do_xcom_push=False``; with 
XCom on, the pod is still
+    deleted and recreated because its result can no longer be read. Set 
``reattach_on_restart=False``
+    (or ``durable=False`` on Airflow 3.3+) to always start a new pod on retry.
+
+.. note::
+    With ``on_kill_action="keep_pod"`` and tries left, a pod whose try hits 
``execution_timeout`` is
+    now left running and the retry reattaches to it, in sync mode with 
``durable=True`` (or
+    ``reattach_on_restart=True`` below Airflow 3.3) and no ``retry_policy`` 
set. Set
+    ``on_kill_action="delete_pod"`` or ``durable=False`` to delete the pod on 
timeout as before.

Review Comment:
   Handled in 922d4219235



-- 
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