jlpedrosa commented on issue #24962: [SPARK-28149][K8S] Added variable to 
disable negative DNS caching
URL: https://github.com/apache/spark/pull/24962#issuecomment-514609545
 
 
   Hi @erikerlandson 
   
   I'm not sure if I've explained myself. What I was trying to say is that 
spark (3.0/master) has capabilities to mount different types of volumes into 
the pods **without  temaplates**.
   Using the args to spark submit: 
   
   ```
   spark.kubernetes.driver.volumes.[VolumeType].[VolumeName].mount.path 
   Add the Kubernetes Volume named VolumeName of the VolumeType type to the 
driver pod on the path specified in the value. For 
example,spark.kubernetes.driver.volumes.persistentVolumeClaim.checkpointpvc.mount.path=/checkpoint.
   ```
   
   That [VolumeType] can be only of the types I mentioned before (as in the 
doc). 
   Then the question is, do you prefer to:
   - Improve args in spark submit so it can mount a configMap?
   - Mount the config map through templates?
   
   
   If we would extend the capabilities then it would be something like
   ```
   spark-submit 
   
--spark.kubernetes.driver.volumes.configMap.myJavaSecOpts.mount.path=/opt/secopt
   --driver-java-options  "-Djava.security.properties=/opt/secopt"
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to