Skip to content

Commit

Permalink
Applying the same change to the modular DAG
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCinquini committed Feb 4, 2025
1 parent 03d45d6 commit 98072e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/dags/cwl_dag_modular.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def setup(ti=None, **context):
"karpenter.sh/nodepool": "{{ti.xcom_pull(task_ids='Setup', key='node_pool')}}",
"node.kubernetes.io/instance-type": "{{ti.xcom_pull(task_ids='Setup', key='instance_type')}}",
},
labels={"app": unity_sps_utils.POD_LABEL},
labels={"pod": unity_sps_utils.POD_LABEL},
annotations={"karpenter.sh/do-not-disrupt": "true"},
# note: 'affinity' cannot yet be templated
affinity=unity_sps_utils.get_affinity(
Expand Down

0 comments on commit 98072e4

Please sign in to comment.