concept KubernetesExecutor in category apache airflow

appears as: KubernetesExecutor, KubernetesExecutor
Data Pipelines with Apache Airflow

This is an excerpt from Manning's book Data Pipelines with Apache Airflow.

Lastly, the KubernetesExecutor, as the name implies, runs workloads on Kubernetes[89]. It requires the setup and configuration of a Kubernetes cluster to run Airflow on, and the executor integrates with the Kubernetes APIs for distributing Airflow tasks. Kubernetes is the de-facto standard solution for running containerized workloads, which implies every task in an Airflow DAG is run in a Kubernetes pod. Kubernetes is highly configurable and scalable and is often already in use within an organization, and therefore many happily use Kubernetes in combination with Airflow.

Figure 12.4 The ideal flow of a task, and the task state for which the components of the scheduler are responsible. The dotted line represents the full scheduler responsibility. When running the SequentialExecutor/LocalExecutor mode, this is a single process. The CeleryExecutor and KubernetesExecutor run the task executor in separate processes, designed to scale out over multiple machines.