feat: adds entry points for check_connections DAG tasks#24
Merged
helen-m-lin merged 12 commits intomainfrom Mar 20, 2026
Merged
feat: adds entry points for check_connections DAG tasks#24helen-m-lin merged 12 commits intomainfrom
helen-m-lin merged 12 commits intomainfrom
Conversation
Contributor
Author
|
Tested locally by building the image and loading into minikube. Things are working for every task other than VAST check. I still need to figure out how to mount vast, but this is something to be done on the KubernetesPodOperator side. |
jtyoung84
reviewed
Mar 20, 2026
Co-authored-by: jtyoung84 <104453205+jtyoung84@users.noreply.github.com>
jtyoung84
approved these changes
Mar 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to https://github.com/AllenNeuralDynamics/aind-airflow-dags/issues/362
This PR enables running tasks in the check_connections DAG using kubernetes pod operators. The idea is that tasks for a DAG will be run as CLI commands where the argument is the task id. Airflow variables, connections, and xcom are passed in env vars using jinja templating, and aws credentials are loaded from k8s secrets.
This PR:
handlerssubpackagedag_taskssubpackage where each module maps to a dag. Each task is mapped to a function that is exposed through CLIcheck_connectionsdag following this template.