簡體   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