Skip to content

Commit

Permalink
Use new logging options on values.yaml (apache#13173)
Browse files Browse the repository at this point in the history
  • Loading branch information
flavio-assis authored Dec 20, 2020
1 parent 4ad1acc commit 23a4787
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -644,13 +644,16 @@ config:
core:
dags_folder: '{{ include "airflow_dags" . }}'
load_examples: 'False'
colored_console_log: 'False'
executor: '{{ .Values.executor }}'
# For Airflow 1.10, backward compatibility
colored_console_log: 'False'
remote_logging: '{{- ternary "True" "False" .Values.elasticsearch.enabled }}'
# Authentication backend used for the experimental API
api:
auth_backend: airflow.api.auth.backend.deny_all
logging:
remote_logging: '{{- ternary "True" "False" .Values.elasticsearch.enabled }}'
colored_console_log: 'False'
logging_level: DEBUG
metrics:
statsd_on: '{{ ternary "True" "False" .Values.statsd.enabled }}'
Expand All @@ -661,18 +664,15 @@ config:
enable_proxy_fix: 'True'
expose_config: 'True'
rbac: 'True'

celery:
default_queue: celery

scheduler:
scheduler_heartbeat_sec: 5
# For Airflow 1.10, backward compatibility
statsd_on: '{{ ternary "True" "False" .Values.statsd.enabled }}'
statsd_port: 9125
statsd_prefix: airflow
statsd_host: '{{ printf "%s-statsd" .Release.Name }}'

# Restart Scheduler every 41460 seconds (11 hours 31 minutes)
# The odd time is chosen so it is not always restarting on the same "hour" boundary
run_duration: 41460
Expand All @@ -683,13 +683,11 @@ config:
max_retries: 3
timeout: 30
retry_timeout: 'True'

kerberos:
keytab: '{{ .Values.kerberos.keytabPath }}'
reinit_frequency: '{{ .Values.kerberos.reinitFrequency }}'
principal: '{{ .Values.kerberos.principal }}'
ccache: '{{ .Values.kerberos.ccacheMountPath }}/{{ .Values.kerberos.ccacheFileName }}'

kubernetes:
namespace: '{{ .Release.Namespace }}'
airflow_configmap: '{{ include "airflow_config" . }}'
Expand Down

0 comments on commit 23a4787

Please sign in to comment.