Difference between KuberenetesExecutor and LocalKubernetesExecutor #31858
-
Hi all, I need clarification about the difference between the two executors. Does using And if my understanding is incorrect, is there a way to run tasks from one DAG on the same pod? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can choose which tasks are used locally and which on K8S - see the docs of ours also similar CeleryKubernetesExecutor). If you run several tasks on the same "LocalExecutor" (i.e. without assigning them to kubernetes queue and if you have one Scheduler, then yes, they will be all executed on scheduler (this is where LocalExecutor tasks are executed). |
Beta Was this translation helpful? Give feedback.
You can choose which tasks are used locally and which on K8S - see the docs of ours also similar CeleryKubernetesExecutor).
If you run several tasks on the same "LocalExecutor" (i.e. without assigning them to kubernetes queue and if you have one Scheduler, then yes, they will be all executed on scheduler (this is where LocalExecutor tasks are executed).