英文:
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 AKS,AWS EKS,GCP 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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论