Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for KubernetesPodOperator #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions airflow/templates/configmaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ data:
worker_container_repository = {{ .Values.airflow.image.repository }}
worker_container_tag = {{ .Values.airflow.image.tag }}
worker_container_image_pull_policy = {{ .Values.airflow.image.pull_policy }}
image_pull_secrets = {{ .Values.airflow.image.pull_secrets }}
worker_service_account_name = {{ template "airflow.fullname" . }}-cluster-access
worker_dags_folder = /usr/local/airflow/dags
delete_worker_pods = true
{{- if .Values.airflow.dags.persistence.enabled }}
Expand Down
4 changes: 3 additions & 1 deletion examples/kube/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ RUN set -ex \
&& pip install pyOpenSSL \
&& pip install ndg-httpsclient \
&& pip install pyasn1 \
&& pip install apache-airflow[crypto,celery,postgres,hive,jdbc,mysql,ssh${AIRFLOW_DEPS:+,}${AIRFLOW_DEPS}]==${AIRFLOW_VERSION} \
&& pip install psycopg2-binary \
&& pip install apache-airflow \
&& pip install apache-airflow[aws,crypto,celery,hive,jdbc,mysql,ssh${AIRFLOW_DEPS:+,}${AIRFLOW_DEPS}]==${AIRFLOW_VERSION} \
&& pip install 'redis>=2.10.5,<3' \
&& if [ -n "${PYTHON_DEPS}" ]; then pip install ${PYTHON_DEPS}; fi \
&& apt-get purge --auto-remove -yqq $buildDeps \
Expand Down