[ 
https://issues.apache.org/jira/browse/AIRFLOW-3126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17140049#comment-17140049
 ] 

ASF GitHub Bot commented on AIRFLOW-3126:
-----------------------------------------

kaxil commented on a change in pull request #8150:
URL: https://github.com/apache/airflow/pull/8150#discussion_r442545141



##########
File path: airflow/config_templates/default_airflow.cfg
##########
@@ -914,6 +914,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:
       ```suggestion
   # 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"}}}}
   ```




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


> kubernetes executor not allowing new PV
> ---------------------------------------
>
>                 Key: AIRFLOW-3126
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3126
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: executors
>    Affects Versions: 1.10.0
>            Reporter: Rahul Singh
>            Assignee: Brandon Willard
>            Priority: Major
>
> Kubernetes executor allows only two PV one for dag and other for logs , in 
> project scenario there are multiple PV needed , like separate PV to store 
> data , PV to store common script files etc . Current implementation is very 
> static to only two PV.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to