Process Flow - Kubernetes executor for dynamic scaling
Airflow Scheduler receives task
Scheduler sends task to Kubernetes Executor
Kubernetes Executor creates a Pod for the task
Pod runs the task
Task completes, Pod terminates
Kubernetes Executor reports task status back to Scheduler
Scheduler updates task state
If more tasks, repeat Pod creation
Kubernetes cluster scales Pods dynamically based on demand
The Kubernetes executor creates a new Pod for each task dynamically, runs the task inside it, and scales Pods up or down based on workload.