-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
[SPARK-41514][K8S][DOCS] Add PVC-oriented executor pod allocation
doc and revise config name
#39058
Conversation
…ection and revise config name
Hi, @viirya . This is the documentation PR. Could you review this when you have some time? |
|
||
In addition, since Spark 3.4, Spark driver is able to do PVC-oriented executor allocation which means | ||
Spark counts the total number of created PVCs which the cluster can have and holds on a new executor creation | ||
if the driver owns the maximum number of PVCs. This helps the transition of the existing PVC from one executor |
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.
Is the maximum number of PVCs limited by cluster capacity?
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.
Oh, I used the cluster = the spark cluster = the spark job = the spark driver + executor
. It could be misleading as the k8s cluster
. Let me revise it. Thank you!
I replaced |
Since the last commit is a word change in the documentation and config description, I'll merge this. Thank you, @viirya ! |
Thank you @dongjoon-hyun |
…oc and revise config name ### What changes were proposed in this pull request? This PR aims to add `PVC-oriented executor pod allocation` section to K8s documentation. To be consistent with the existing two configurations, I revise the configuration like the following. ``` - spark.kubernetes.driver.waitToReusePersistentVolumeClaims + spark.kubernetes.driver.waitToReusePersistentVolumeClaim ``` ### Why are the changes needed? To document new feature. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manual review since this is a documentation. Closes apache#39058 from dongjoon-hyun/SPARK-41514. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
What changes were proposed in this pull request?
This PR aims to add
PVC-oriented executor pod allocation
section to K8s documentation.To be consistent with the existing two configurations, I revise the configuration like the following.
Why are the changes needed?
To document new feature.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Manual review since this is a documentation.