arley-wilches opened a new issue, #29963:
URL: https://github.com/apache/airflow/issues/29963
### Apache Airflow version
Other Airflow 2 version (please specify below)
### What happened
Hi, once ran DAG's and POD's gone, I am not able to see the logs, I got
`*** Trying to get logs (last 100 lines) from worker pod
awsta-0ddbcfdcda294a08a370507891a1ea09 ***
*** Unable to fetch logs from worker pod
awsta-0ddbcfdcda294a08a370507891a1ea09 ***
(404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Audit-Id':
'd1606aa1-d236-411b-9ac8-927ac7c0f311', 'Cache-Control': 'no-cache, private',
'Content-Type': 'application/json', 'Date': 'Tue, 07 Mar 2023 19:17:43 GMT',
'Content-Length': '294'})
HTTP response body:
b'{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"pods
\\"awsta-0ddbcfdcda294a08a370507891a1ea09\\" not
found","reason":"NotFound","details":{"name":"awsta-0ddbcfdcda294a08a370507891a1ea09","kind":"pods"},"code":404}\n'
`
I am able to access the logs going directly to the filesystem, how can I see
the logs from the UI if the PODs are gone?
### What you think should happen instead
should be a way to access logs even if the PODs are gone.
### How to reproduce
the DAGs ran without problems no matter the output, but once the pods
finish, I am not able to access the logs from the UI.
apache-airflow: 2.4.2
### Operating System
Kubernetes EKS
### Versions of Apache Airflow Providers
`apache-airflow-providers-amazon==6.0.0
apache-airflow-providers-celery==3.0.0
apache-airflow-providers-cncf-kubernetes==4.4.0
apache-airflow-providers-common-sql==1.2.0
apache-airflow-providers-docker==3.2.0
apache-airflow-providers-elasticsearch==4.2.1
apache-airflow-providers-ftp==3.1.0
apache-airflow-providers-google==8.4.0
apache-airflow-providers-grpc==3.0.0
apache-airflow-providers-hashicorp==3.1.0
apache-airflow-providers-http==4.0.0
apache-airflow-providers-imap==3.0.0
apache-airflow-providers-microsoft-azure==4.3.0
apache-airflow-providers-mysql==3.2.1
apache-airflow-providers-odbc==3.1.2
apache-airflow-providers-postgres==5.2.2
apache-airflow-providers-redis==3.0.0
apache-airflow-providers-sendgrid==3.0.0
apache-airflow-providers-sftp==4.1.0
apache-airflow-providers-slack==6.0.0
apache-airflow-providers-sqlite==3.2.1
apache-airflow-providers-ssh==3.2.0`
### Deployment
Official Apache Airflow Helm Chart
### Deployment details
_No response_
### Anything else
_No response_
### Are you willing to submit 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]