Armada DAG: increase retries from 3 to 5

The current Armada DAG allows for 3 retries, reduced from 10 here:
bef8eecac1

This is sometimes insufficient, especially in cases where chart updates
of underlying Airship or Kubernetes components are upgraded and pods are
restarted underneath the airflow workers. The chart installation may be
successful, but an Armada retry may still be consumed.

This change increases the number of retries to 5. This will allow Armada
to progress further through the manifest if there is a disruption after
a chart is successfully installed. The tradeoff is that Armada may try
to repeatedly install a chart that keeps failing in the same way,
delaying the ultimate failure of the deployment.

Change-Id: I1fad7b1d95af061595680a76d24c6d323b365a67
This commit is contained in:
Phil Sphicas 2020-04-01 16:21:52 -07:00
parent 0091670583
commit c8c8934c77
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ def deploy_site_armada(parent_dag_name, child_dag_name, args):
task_id='armada_post_apply',
shipyard_conf=config_path,
main_dag_name=parent_dag_name,
retries=3,
retries=5,
dag=dag)
# Get Helm Releases