Can't launch cross-namespace DAG with Kubernetes Pod Operator #44730
Unanswered
imishchuk-tsgs
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, folks.
We have an Airflow
2.10.2
deployed in EKS.EKS has two namespaces of interest
data
andai
and Airflow webserver, scheduler and workers by default run indata
namespace.I want to execute some specific DAGs in
ai
namespace. I've added following configuration to the AirflowDAG is a placeholder for now
Service account
data-airflow-worker
has following permissions inai
namespaceWhen I trigger the DAG, KPO pod is started in
data
namespace and then fails with following errordata-airflow-worker
service account exists only indata
namespace but has necessary permissions to work withai
namespace.It is unclear for me, why KPO pod is looking for
data-airflow-worker
inai
namespace and how to make sure that it usesdata-airflow-worker
indata
namespace instead.Obvious thing to do would be to create a service account in
ai
namespace, but that feels wrong, as cross-namespace operations should be supported.Can you, please, suggest, what am I missing?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions