Commit ab787ac7 authored by Vineeth Guna [Microsoft]'s avatar Vineeth Guna [Microsoft]
Browse files

Added celery config to fix graceful timeout issue

parent c241bbc0
......@@ -290,11 +290,17 @@ airflow:
value: "#{AAD_CLIENT_ID}#"
- name: AIRFLOW_VAR_APPINSIGHTS_KEY
value: "#{appinsights-key}#"
- name: PYTHONPATH
value: "/opt/celery"
extraConfigmapMounts:
- name: remote-log-config
mountPath: /opt/airflow/config
configMap: airflow-remote-log-config
readOnly: true
- name: celery-config
mountPath: /opt/celery
configMap: celery-config
readOnly: true
extraPipPackages: [
"flask-bcrypt==0.7.1",
"apache-airflow[statsd]",
......
......@@ -300,11 +300,17 @@ airflow:
secretKeyRef:
name: central-logging
key: appinsights
- name: PYTHONPATH
value: "/opt/celery"
extraConfigmapMounts:
- name: remote-log-config
mountPath: /opt/airflow/config
configMap: airflow-remote-log-config
readOnly: true
- name: celery-config
mountPath: /opt/celery
configMap: celery-config
readOnly: true
extraPipPackages: [
"flask-bcrypt==0.7.1",
"apache-airflow[statsd]",
......
apiVersion: v1
kind: ConfigMap
metadata:
name: celery-config
data:
__init__.py: ""
celeryconfig.py: |
import ssl
broker_use_ssl = {'ssl_keyfile': '', 'ssl_certfile': '', 'ssl_ca_certs': '', 'ssl_cert_reqs': ssl.CERT_REQUIRED}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment