mik-laj commented on a change in pull request #15314:
URL: https://github.com/apache/airflow/pull/15314#discussion_r611145169
##########
File path: docs/helm-chart/manage-dags-files.rst
##########
@@ -91,10 +96,27 @@ This option will use a Persistent Volume Claim with an
access mode of ``ReadWrit
# by setting the dags.persistence.* and dags.gitSync.* values
# Please refer to values.yaml for details
+When using ``apache-airflow>=2.0.0``, :ref:`DAG Serialization
<apache-airflow:dag-serialization>` is enabled by default,
+hence Webserver does not need access to DAG files, so you can turn off
``git-sync`` for Webserver by setting
+``dags.gitSync.excludeWebserver`` to ``true``.
+This is also recommended when enabling DAG Serialization for
``apache-airflow>=1.10.7,<2``.
Review comment:
For Airflow 1.10.9 and earlier, DAG files is still needed for DAG code
ttab. For Airflow 1.10.10 and newer (including 2.0.0), it is needed to
enable`store_dag_code` to `True` (default value: `False`). DAG Serialization is
not enough.
http://airflow.apache.org/docs/apache-airflow/2.0.1/configurations-ref.html#store-dag-code
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]