Cannot run KubernetesPodOperator on Airflow #29179
Unanswered
labderrafie
asked this question in
Q&A
Replies: 1 comment 1 reply
-
So I would recommend check your network configuration/deployment |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi ! I'm trying to test out the KubernetesPodOperator on Airflow, for that I'm set up a K8s cluster using a Docker Desktop. I'm running a pretty simple DAG which only contains the following task :
But when I trigger my DAG I get the following error (full logs at the end):
I don't know if this error is coming from Airflow or from the Kubernetes cluster. I run Airflow on Docker so the K8s config_file is binded in the docker compose but I don't know if i should add something else to the docker_compose.yaml.
I tried to set up a connection in the Airflow UI but I didn't find a proper way to do it so I just tried some things but it didn't work. Has anybody here ever had this problem or knows how to solve it ? Thank you !
Full logs for the error i get :
Beta Was this translation helpful? Give feedback.
All reactions