-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-28042][K8S] Support using volume mount as local storage #24879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
6fca505
ef66c87
5610fe4
f071c2c
45c8bc5
9392dad
6e5fcf6
2abb8e9
c29dd7a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,12 +43,12 @@ private[spark] class KubernetesDriverBuilder { | |
| new DriverServiceFeatureStep(conf), | ||
| new MountSecretsFeatureStep(conf), | ||
| new EnvSecretsFeatureStep(conf), | ||
| new LocalDirsFeatureStep(conf), | ||
| new MountVolumesFeatureStep(conf), | ||
| new DriverCommandFeatureStep(conf), | ||
| new HadoopConfDriverFeatureStep(conf), | ||
| new KerberosConfDriverFeatureStep(conf), | ||
| new PodTemplateConfigMapStep(conf)) | ||
| new PodTemplateConfigMapStep(conf), | ||
| new LocalDirsFeatureStep(conf)) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why not move this right after
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think some volume mounts maybe setup in PodTemplateConfigMapStep, so I move to last to ensure that.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep, since the intent is for users to provide custom local dir volumes via either mount volumes or pod templates it needs to appear after both
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Either is fine, just wanted to point out that the pod template is initialized before any step is executed (i.e. |
||
|
|
||
| val spec = KubernetesDriverSpec( | ||
| initialPod, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, style checker should have complained about this (scala imports should be separate from others).