【问题标题】:How configuring Airflow service start in Ubuntu如何在 Ubuntu 中启动配置 Airflow 服务
【发布时间】:2020-06-29 07:13:18
【问题描述】:

我已经在我的 Azure Ubuntu VM 上安装了 Airflow。现在我想在启动 VM 后启动气流。

【问题讨论】:

标签: airflow airflow-scheduler azure-vm


【解决方案1】:

我在参与的 6 个项目中看到它的方式是向 systemd 添加服务,您的 Ubuntu 机器应该默认支持这些服务。

根据您的安装和流程,在您的 VM 环境变量、您在 systemd 脚本中声明的 airflow.cfg 和环境变量以及一个环境文件之间拆分 Airflow 配置选项是很常见的。

您需要通过systemd生成的进程有:

  1. <path_to_airflow>/bin/airflow initdb
  2. <path_to_airflow>/bin/airflow scheduler
  3. <path_to_airflow>/bin/airflow webserver

这里有一些文档可以帮助您入门:

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-12-06
    • 2021-04-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-11-03
    • 2015-11-29
    相关资源
    最近更新 更多