KubernetesExecutor do not spawn Kubernetes Pod Operator pods. #22407
Replies: 8 comments 5 replies
-
The only thing remotely related to errors I found:
|
Beta Was this translation helpful? Give feedback.
-
Seems like its wrong resource_version processing |
Beta Was this translation helpful? Give feedback.
-
I redeployed configmap, used with the git-sync container, and this problem above ( |
Beta Was this translation helpful? Give feedback.
-
Same situation with airflow 2.2.4 deployed from helm chart 1.5.0 |
Beta Was this translation helpful? Give feedback.
-
I think without further logs (including k8s logs) it's next to impossible to diagnose it. |
Beta Was this translation helpful? Give feedback.
-
I converted it into discussion - maybe someone above will be able to provide more information/logs/ |
Beta Was this translation helpful? Give feedback.
-
we had the same issue, after pinning
KubernetesExecutor can spawn KubernetesPodOperator pods immediately Our setup:
|
Beta Was this translation helpful? Give feedback.
-
We've faced with the same issue |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Apache Airflow version: 2.1.2 (but happened on 2.0.2 as well)
OS: debian
Apache Airflow Provider versions:
apache-airflow-providers-celery==2.0.0
apache-airflow-providers-cncf-kubernetes==2.0.1
apache-airflow-providers-docker==2.1.0
apache-airflow-providers-elasticsearch==2.0.2
apache-airflow-providers-ftp==2.0.0
apache-airflow-providers-google==5.0.0
apache-airflow-providers-hashicorp==2.0.0
apache-airflow-providers-http==2.0.0
apache-airflow-providers-imap==2.0.0
apache-airflow-providers-mysql==2.1.0
apache-airflow-providers-postgres==2.0.0
apache-airflow-providers-redis==2.0.0
apache-airflow-providers-slack==4.0.0
apache-airflow-providers-sqlite==2.0.0
apache-airflow-providers-ssh==2.1.0
Deployment:
GKE
What happened:
Airflow was working fine, but out of blue, stopped working properly.
Basically, DAG starts and then tasks first task fail, but they were running okay a week ago. KubernetesExecutor stopped spawning KubernetesPodOperators and there are no logs or errors. If I run directly (
kubectl apply -f
) template I use for Operator, it runs successfully.Airflow utilize the same service account for Operator and Executor, so if Executor created successfully, that means no problem with a service account
Also, since DAG syncs successfully, no problem with git-sync.
kubectl get events
does not show any attempts to create any pods for the taskdag_processor_manager.log
also free of any errors.So, Executor successfully created and proceeded to Complete and no Pod Operator was created.
Executor
Pod template
DAG
In scheduler:
Executor logs:
What you expected to happen:
Expect to Executor to create a pod for Kubernetes Pod Operator or throw any type of error.
Beta Was this translation helpful? Give feedback.
All reactions