mik-laj commented on a change in pull request #8150: [AIRFLOW-3126] Add option 
to specify additional K8s volumes
URL: https://github.com/apache/airflow/pull/8150#discussion_r407746710
 
 

 ##########
 File path: airflow/config_templates/default_airflow.cfg
 ##########
 @@ -881,6 +881,15 @@ logs_volume_subpath =
 # A shared volume claim for the logs
 logs_volume_claim =
 
+# Extra volumes to be mounted in worker pods.  Volumes are specified as
+# keys in a JSON object with nested JSON values specifying each volume's
+# options.  Recognized options are `claim_name` or `secret_name`
+# (required), `mount_path` (required), `read_only` (boolean, default
+# null), `sub_path` (default null), `secret_key` (string, default null),
+# `secret_mode` (string, default null).
+# Example: extra_volume_mounts = "{{{{\"secret_vol\": {{{{\"secret_name\": 
\"some-secret\", \"mount_path\": \"/dir1\", \"sub_path\": \"subpath1\", 
\"secret_mode\": \"440\"}}}}, \"pvc\": {{{{\"claim_name\": \"some-pvc\", 
\"mount_path\": \"/dir2\"}}}}}}}}"
 
 Review comment:
   airflow_local_settings.py file is intended only for logs currently. I am not 
sure if we want to mix it. 

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to