hussein-awala opened a new pull request, #30425: URL: https://github.com/apache/airflow/pull/30425
closes: #30400 --- According to kubernetes python client documentation: ``` Note that watching an API resource can expire. The method tries to resume automatically once from the last result, but if that last result is too old as well, an `ApiException` exception will be thrown with ``code`` 410. In that case you have to recover yourself, probably by listing the API resource to obtain the latest state and then watching from that state on by setting ``resource_version`` to one returned from listing. ``` In this PR, I list the pods (as type `V1PodList`) in the namespace (or all the namespaces) to retrieve the latest `resource_version`, then use it to retry watching the pod events. -- 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]
