简体   繁体   English

如何从 GitHub 存储库获取 DAG 文件?

[英]how to Get DAG Files From A GitHub Repository?

i'm trying to deploy a airflow on azure kube.netes services and loading DAG from GitHub by using this command:我正在尝试在 azure kube.netes 服务上部署 airflow 并使用以下命令从 GitHub 加载 DAG:

helm install airflow bitnami/airflow -n d --set git.dags.enabled=true --set git.dags.repositories[0].repository=https://github.com/lazkamal/aiflow_dags.git --set git.dags.repositories[0].name=ayyoub-repo --set git.dags.repositories[0].branch=main

but a get this error:但是得到这个错误:

Error: template: airflow/templates/worker/statefulset.yaml:72:12: executing "airflow/templates/worker/statefulset.yaml" at <include "airflow.git.containers.clone" .>: error calling include: template: airflow/templates/_git_helpers.tpl:79:14: executing "airflow.git.containers.clone" at <.Values.containerSecurityContext.enabled>: nil pointer evaluating interface {}.enabled

can someone help me?有人能帮我吗?

You can go through this link您可以通过此链接拨打 go

There are several ways to deploy your DAG files when running Airflow on Kube.netes.在 Kube.netes 上运行 Airflow 时,有多种方法可以部署 DAG 文件。

  1. git-sync git同步
  2. Persistent Volume持久卷
  3. Embedding in Docker container嵌入Docker容器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Airflow CLI:如何在 Airflow 1.10.12 中获取 dag 任务的状态? - Airflow CLI: How to get status of dag tasks in Airflow 1.10.12? GitHub 存储库如何工作? (火力基地) - How do GitHub repository work? (Firebase) 如何在 AWS MWAA Airflow DAG 上获取 pyodbc 连接? - How to get pyodbc connection on AWS MWAA Airflow DAG? 有没有办法使用 Amazon AppFlow 集成从 GitHub 获取原始文件的内容? - Is there a way to get raw files' content from GitHub using the Amazon AppFlow integration? 如何直接从 gitlab 服务器存储库获取 git 参考名称? - How to get the git refs name directly from gitlab server repository? 如何在多目录存储库中使用 gcp 和 github 操作设置 terraform cicd - How to setup terraform cicd with gcp and github actions in a multidirectory repository 如何将我的项目从 github 存储库转移到 aws 服务器? 我可以使用哪种类型的 aws 服务(ec2 或 s3)? - how can i transfer my project from github repository to aws server? which type of aws services(ec2 or s3) i can use to do so? Google Cloud Composer:如何从本地开发机器触发 DAG 运行? - Google Cloud Composer: How to trigger a DAG Run from a local dev machine? apache气流中的DAG文件在哪里写入? - where to write DAG files in apache air flow? 谷歌 Airflow UI 似乎缺少 DAG - DAG seems to be missing from google Airflow UI
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM