|
@@ -66,6 +66,7 @@ with DAG(start_date=datetime(2022,6,1),catchup=False,schedule_interval=None if '
|
|
|
get_logs=True,
|
|
|
{% if image_pull_key != None or image_pull_key != ""%}image_pull_secrets='{{ image_pull_key }}',{% endif %}
|
|
|
log_events_on_failure=True,
|
|
|
+ image_pull_policy='Always',
|
|
|
cmds={{ spark_sub_node['cmds'] }},
|
|
|
env_vars={{ spark_sub_node['env'] }},
|
|
|
on_success_callback=task_finish_alert,
|
|
@@ -91,6 +92,7 @@ with DAG(start_date=datetime(2022,6,1),catchup=False,schedule_interval=None if '
|
|
|
reattach_on_restart=True,
|
|
|
is_delete_operator_pod=False,
|
|
|
get_logs=True,
|
|
|
+ image_pull_policy='Always',
|
|
|
log_events_on_failure=True,
|
|
|
{% if image_pull_key not in ['None',"",None]%}image_pull_secrets='{{ image_pull_key }}',{% endif %}
|
|
|
cmds={{ node['cmds'] }},
|