fdemiane opened a new pull request, #39861:
URL: https://github.com/apache/airflow/pull/39861

   Add a warning message to KPO to warn of one second interval logs duplication.
   
   The KubernetesPodOperator is duplicating the last one second logs when a pod 
is interrupted, and this is because the logs reading method in the Kubernetes 
python client takes a since_seconds parameter, and doesn't support passing a 
finer-grained time representation (See 
[here](https://github.com/kubernetes-client/python/issues/1351) for context). 
The optimal fix requires a change in Kubernetes Python client.
   As a quick win, we added a warning message to warn users that logs that the 
last second logs before the container was interrupted might get duplicated.
   
   closes: #39236
   related: #33500 
   


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to