S3 Remote Logging not working for KubernetesExecutor on AWS EKS #759
Unanswered
seblum
asked this question in
Questions & Answers
Replies: 1 comment 2 replies
-
@seblum it's almost certainly a permission issue preventing the tasks from writing logs to the S3 bucket. A few things you might want to look at:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am encountering an issue with remote logging to S3. I am running Airflow on an EKS cluster with KubernetesExecutor and KubernetesPodOperator. I digged through the documentation already but nothing worked so far.
The KubernetesOperator in my DAG looks like this:
When I run my DAG I get the following logs on the UI:
As soon as I let it fail ( in hope it stores the logs on S3 ), I get the following:
I am using the community helm chart version 8.7.1. as base. The following shows my settings.
The access via the connection "AWSS3_Log_Storage" and the serviceAccount works fine when I test the connection in the UI. My guess is that I also have access to the s3 bucket via the webserver, but no logs are written. I assume my pod does not have the rights or connection to be able to write, or doesn't get any information whatsoever to log remotely.
I am still completely stuck at this point and would appreciate any help.
EDIT: I was testing it with the normal @task operator so I assume it nothing related to the kubernetesPodOperator per se..
Beta Was this translation helpful? Give feedback.
All reactions