You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/01/21 20:20:01 UTC
[airflow] 36/44: Use new logging options on values.yaml (#13173)
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit e328ae44961d5c5d2360628f0e60fc5e99ae5dea
Author: Flávio de Assis <34...@users.noreply.github.com>
AuthorDate: Sat Dec 19 22:14:35 2020 -0300
Use new logging options on values.yaml (#13173)
(cherry picked from commit 23a47879ababe76f6cf9034a2bae055b2a91bf1f)
---
chart/values.yaml | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/chart/values.yaml b/chart/values.yaml
index cb605c3..d84a785 100644
--- a/chart/values.yaml
+++ b/chart/values.yaml
@@ -643,13 +643,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 }}'
@@ -660,10 +663,8 @@ 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
@@ -671,7 +672,6 @@ config:
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
@@ -682,13 +682,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" . }}'