如何在生产环境中部署Airflow,而不受云提供商的限制?

huangapple go评论118阅读模式
英文:

How to deploy Airflow to production being agnostic to Cloud providers?

问题

我正在部署一个Airflow实例到Microsoft Azure的生产环境中,但项目的一个前提是在云提供商方面开发一个不依赖特定云提供商的解决方案。我的第一个想法是使用Docker将Airflow部署到生产环境,这样我就可以在不考虑云提供商的情况下运行容器。

这是否是实现目标的推荐方式?

英文:

I am working on deploying an Airflow instance to production in Microsoft Azure, but one of the premises of the project is to develop an agnostic solution when it comes about the Cloud provider. My first idea was to deploy Airflow to production using Docker, so I could run the containers regardless the Cloud provider.

Is that a recommended way to achieve the goal?

答案1

得分: 2

Airflow提供了一个Helm图表,允许您在Kubernetes集群上安装Airflow。所有云服务提供商都提供Kubernetes服务(Azure AKSAWS EKSGCP GKE)。

以下是安装该图表的最低要求Helm命令(来自文档:https://airflow.apache.org/docs/helm-chart/stable/index.html#installing-the-chart):

helm repo add apache-airflow https://airflow.apache.org
helm upgrade --install airflow apache-airflow/airflow --namespace airflow --create-namespace
英文:

Airflow provides a Helm chart that allows you to install Airflow on a Kubernetes cluster. All cloud providers offer a Kubernetes service (Azure AKS, AWS EKS, GCP GKE).

Here's the bare minimum Helm command to install the chart (from the docs: https://airflow.apache.org/docs/helm-chart/stable/index.html#installing-the-chart):

helm repo add apache-airflow https://airflow.apache.org
helm upgrade --install airflow apache-airflow/airflow --namespace airflow --create-namespace

huangapple
  • 本文由 发表于 2023年2月16日 03:39:48
  • 转载请务必保留本文链接:https://go.coder-hub.com/75464698.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定