Skip to content

Commit

Permalink
Chart: warn when using default logging with KubernetesExecutor (apach…
Browse files Browse the repository at this point in the history
  • Loading branch information
jedcunningham authored Jul 6, 2021
1 parent 1eed6b4 commit 8885fc1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions chart/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,17 @@ You can get Fernet Key value by running the following:

{{- end }}

{{- if or (eq .Values.executor "KubernetesExecutor") (eq .Values.executor "CeleryKubernetesExecutor") }}
{{- if and (not .Values.logs.persistence.enabled) (eq (lower (tpl .Values.config.logging.remote_logging .)) "false") }}

WARNING:
Kubernetes workers task logs may not persist unless you configure log persistence or remote logging!
Logging options can be found at: https://airflow.apache.org/docs/helm-chart/stable/manage-logs.html
(This warning can be ignored if logging is configured with environment variables or secrets backend)

{{- end }}
{{- end }}

{{- if and .Values.dags.gitSync.enabled .Values.dags.gitSync.sshKeySecret (not .Values.dags.gitSync.knownHosts)}}

#####################################################
Expand Down

0 comments on commit 8885fc1

Please sign in to comment.