[英]airflow on kubernetes: How to install extra python packages?
將其發布為社區 wiki 以獲得更好的可見性。 隨意擴展它。
正如@Elpis 在評論部分所寫,他按照本指南在 Kube.netes 上安裝了 Apache Airflow。
他通過向worker pod 、 web pod和調度程序 pod添加extraVolumeMounts
和extraVolumes
解決了這個問題。
extraVolumeMounts:
- name: requirements
mountPath: /bitnami/python/
## Add extra volumes
extraVolumes:
- name: requirements
configMap:
# Provide the name of the ConfigMap containing the files you want
# to add to the container
name: requirements
之后,安裝了所有額外的 Python 個軟件包。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.