zgzzbws opened a new pull request, #52896: URL: https://github.com/apache/spark/pull/52896
### What changes were proposed in this pull request? This PR adds support for mounting volumes using CSI drivers. ### Why are the changes needed? By adding [CSI driver](https://kubernetes-csi.github.io/docs/introduction.html) support, Spark running on k8s can now dynamically and on-demand leverage diverse storage services (such as high-performance SSDs, low-cost HDDs, etc.) provided by the underlying infrastructure. This enhances platform independence and simplifies operations and maintenance. ### Does this PR introduce any user-facing change? Users can now using CSI driver by add configs like: ``` spark-submit \ --conf spark.kubernetes.executor.volumes.csiVolumeClaim.mount.path /mnt/disk \ --conf spark.kubernetes.executor.volumes.csiVolumeClaim.csiDriverName file.csi.azure.com \ --conf spark.kubernetes.executor.volumes.csiVolumeClaim.options.shareName EXISTING_SHARE_NAME \ --conf spark.kubernetes.executor.volumes.csiVolumeClaim.options.secretName azure-secret ... ``` ### How was this patch tested? add ut test ### Was this patch authored or co-authored using generative AI tooling? No -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
