Github user liyinan926 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21260#discussion_r192145276
  
    --- Diff: docs/running-on-kubernetes.md ---
    @@ -602,4 +602,52 @@ specific to Spark on Kubernetes.
        
<code>spark.kubernetes.executor.secrets.spark-secret=/etc/secrets</code>.
       </td>
     </tr>
    +<tr>
    +  
<td><code>spark.kubernetes.driver.volumes.[VolumeType].[VolumeName].mount.path</code></td>
    +  <td>(none)</td>
    +  <td>
    +   Add the <a 
href="https://kubernetes.io/docs/concepts/storage/volumes/";>Kubernetes 
Volume</a> named <code>VolumeName</code> of the <code>VolumeType</code> type to 
the driver pod on the path specified in the value. For example,
    +   
<code>spark.kubernetes.driver.volumes.persistentVolumeClaim.checkpointpvc.mount.path=/checkpoint</code>.
    +  </td>
    +</tr>
    +<tr>
    +  
<td><code>spark.kubernetes.driver.volumes.[VolumeType].[VolumeName].mount.readOnly</code></td>
    +  <td>(none)</td>
    +  <td>
    +   Specify if the mounted volume is read only or not. For example,
    +   
<code>spark.kubernetes.driver.volumes.persistentVolumeClaim.checkpointpvc.mount.readOnly=false</code>.
    +  </td>
    +</tr>
    +<tr>
    +  
<td><code>spark.kubernetes.driver.volumes.[VolumeType].[VolumeName].mount.options.[OptionName]</code></td>
    +  <td>(none)</td>
    +  <td>
    +   Configure <a 
href="https://kubernetes.io/docs/concepts/storage/volumes/";>Kubernetes 
Volume</a> options passed to the Kubernetes with <code>OptionName</code> as key 
having specified value. For example,
    --- End diff --
    
    It's worth mentioning that the option keys are in conformance with the spec 
fields of the corresponding volume types.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to