Page MenuHomePhabricator

python_script_executor should run with KubernetesPodOperator
Closed, ResolvedPublic2 Estimated Story Points

Description

The airflow-search migration is blocked by a failing data-purging DAG. Under the hood,
the dag runs a refinery script with BashOperator (via python_script_executor).

To be able to run refinery scripts k8s, we should add support for KubernetesPodOperator to python_script_executor.

AC:

  • The python_script_executor should support both BashOperator and KubernetesPodOperator execution targets.

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
common: drop_older_then: check script only on bare metal.repos/data-engineering/airflow-dags!1049gmodenadrop_older_than-path-check-1main
common: drop_older_than: fix path existance check.repos/data-engineering/airflow-dags!1047gmodenadrop_older_than-path-checkmain
Execute refinery scripts in a k8s pod.repos/data-engineering/airflow-dags!1028gmodenadata-retention-with-k8s-operatormain
Customize query in GitLab

Event Timeline

gmodena moved this task from Incoming to In Progress on the Discovery-Search (Current work) board.
gmodena set the point value for this task to 2.

I think that we can close this ticket now.