This is an automated email from the ASF dual-hosted git repository.

dimberman pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v1-10-test by this push:
     new 924e370  fixup!  Add ability to specify pod_template_file in 
executor_config (#11784)
924e370 is described below

commit 924e37067553656537c7f41cab4371818e9b8931
Author: Daniel Imberman <daniel.imber...@gmail.com>
AuthorDate: Wed Nov 18 11:37:54 2020 -0800

    fixup!  Add ability to specify pod_template_file in executor_config (#11784)
---
 airflow/example_dags/example_kubernetes_executor_config.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/airflow/example_dags/example_kubernetes_executor_config.py 
b/airflow/example_dags/example_kubernetes_executor_config.py
index 6ecd66d..dc7d79c 100644
--- a/airflow/example_dags/example_kubernetes_executor_config.py
+++ b/airflow/example_dags/example_kubernetes_executor_config.py
@@ -77,6 +77,8 @@ with DAG(
         }
     )
 
+    # [START task_with_volume]
+
     # You can mount volume or secret to the worker pod
     second_task = PythonOperator(
         task_id="four_task",
@@ -142,6 +144,8 @@ with DAG(
             ),
         },
     )
+    # [END task_with_sidecar]
+
 
     # Test that we can add labels to pods
     third_task = PythonOperator(

Reply via email to