You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "johnhoran (via GitHub)" <gi...@apache.org> on 2025/10/20 16:31:48 UTC
[I] Kubernetes Pod Operator: read logs and events in deferred mode [airflow]
johnhoran opened a new issue, #56895:
URL: https://github.com/apache/airflow/issues/56895
### Description
When using the kuberenets pod operator in deferred mode it sets timeouts to periodically check the status of the pod, and to return to the operator mode to tail any logs. This adds delays to the execution for very short running tasks, or load switching back and forth between the triggerer and operator. Especially when using KPO + kubernetes executor as you then need to wait for the executor to spin up a pod for the operator.
Kubernetes supports event streams on pods via watches, as well as streaming the logs. Both things are supported by the kubernetes-asyncio library used by airflow.
### Use case/motivation
_No response_
### Related issues
_No response_
### Are you willing to submit a PR?
- [x] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Kubernetes Pod Operator: read logs and events in deferred mode [airflow]
Posted by "Miretpl (via GitHub)" <gi...@apache.org>.
Miretpl commented on issue #56895:
URL: https://github.com/apache/airflow/issues/56895#issuecomment-5184261770
> I'm not sure whether this issue still applies, since https://github.com/apache/airflow/pull/57531 and https://github.com/apache/airflow/pull/59080 have been merged.
I checked the PRs - looks like the issue is done. Thanks for catching this!
@johnhoran, if I missed something potentially and it is not finished, let us know, and we will reopen it.
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Kubernetes Pod Operator: read logs and events in deferred mode [airflow]
Posted by "aaron-y-chen (via GitHub)" <gi...@apache.org>.
aaron-y-chen commented on issue #56895:
URL: https://github.com/apache/airflow/issues/56895#issuecomment-5164685899
I'm not sure whether this issue still applies, since #57531 and #59080 have been merged.
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Kubernetes Pod Operator: read logs and events in deferred mode [airflow]
Posted by "Miretpl (via GitHub)" <gi...@apache.org>.
Miretpl closed issue #56895: Kubernetes Pod Operator: read logs and events in deferred mode
URL: https://github.com/apache/airflow/issues/56895
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org