The KubernetesPodOperator requires a Docker image to be specified, while the Kubernetes executor doesn't.The following are the primary differences between the KubernetesPodOperator and the Kubernetes executor: To configure the Kubernetes executor, see Kubernetes Executor. It does not affect any other tasks in the Airflow instance. The KubernetesPodOperator launches only its own task in a Kubernetes Pod with its own configuration. As the name suggests, the Kubernetes executor affects how all tasks in an Airflow instance are executed. The Kubernetes executor and the KubernetesPodOperator both dynamically launch and terminate Pods to run Airflow tasks.
0 Comments
Leave a Reply. |