繁体   English   中英

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

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

我正在尝试在 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

但是得到这个错误:

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

有人能帮我吗?

您可以通过此链接拨打 go

在 Kube.netes 上运行 Airflow 时,有多种方法可以部署 DAG 文件。

  1. git同步
  2. 持久卷
  3. 嵌入Docker容器

暂无
暂无

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM