Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Airflow 如何通过Git安装气流DAG?_Airflow - Fatal编程技术网

Airflow 如何通过Git安装气流DAG?

Airflow 如何通过Git安装气流DAG?,airflow,Airflow,发现在airflow.cfg中有可能“通过Git安装DAG”: # Git credentials and repository for DAGs mounted via Git (mutually exclusive with volume claim) git_repo = https://username@bitbucket.org/repo.git git_branch = master git_subpath = # Use git_user and git_password for

发现在airflow.cfg中有可能“通过Git安装DAG”:

# Git credentials and repository for DAGs mounted via Git (mutually exclusive with volume claim)
git_repo = https://username@bitbucket.org/repo.git
git_branch = master
git_subpath =
# Use git_user and git_password for user authentication or git_ssh_key_secret_name and git_ssh_key_secret_key
# for SSH authentication
git_user = username
git_password = pass
git_sync_root = /git
git_sync_dest = repo
# Mount point of the volume if git-sync is being used.
# i.e. /home/user/airflow/dags
git_dags_folder_mount_point = /home/user/airflow/dags
找不到有关此的任何文档

我是否正确地理解了,我能够使用Git repo将我的DAG部署到Airflow生产服务器,只需推到指定的分支


无法使其运行,请您考虑。

您使用的是Kubernetesecutor吗?这些设置位于
[kubernetes]
标题下,用于该上下文。不,我没有。这一定是答案,为什么它不起作用。将尝试k8s,谢谢!