Skip to content

upgrade airflow, airflow charts and python version

saketh somaraju [EPAM] requested to merge az/sa-upgrade-airflow-python into master

Version changes

Changes

  • Upgraded python dependencies
  • Added patch permission for pods in podOperator namespace (airflow)
  • Disabled airflow triggerer deployment and using default triggerer.
  • Related to osdu/platform&32 (closed)

Upgrade instructions

  • Scaledown workflow service to 0 replicas , remove eds_scheduler cron ( scheduler_interval variable in airflow UI ) and makesure no dags are running during upgrade.
  • Airflow DB migrations might take considerable amount of time, based on size of data. ( for GLAB and STG instances, it took around 9 minutes. )

Testing

  • Changes are tested in community instances ( GLAB and dev secondary env. ) on EDS, CSV-parser and segy-to-zgy-conversion dags. No issues observed.

Performance Testing

  • Tested 1000 runs of a dummy dag on 2.7.3 version
  • Dag: parallel_dags.py
  • Time taken for 1000 runs: 21 minutes, No failures obeserved, no tasks struck in waiting stage.
  • Autoscaling is working as expected.

image image
Edited by saketh somaraju [EPAM]

Merge request reports

Loading