You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2026/02/16 17:05:00 UTC
[jira] [Commented] (SPARK-55496) Support reuse of scaled PVCs
[ https://issues.apache.org/jira/browse/SPARK-55496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18058923#comment-18058923 ]
Dongjoon Hyun commented on SPARK-55496:
---------------------------------------
Thank you, [~dzeri96].
> Support reuse of scaled PVCs
> ----------------------------
>
> Key: SPARK-55496
> URL: https://issues.apache.org/jira/browse/SPARK-55496
> Project: Spark
> Issue Type: Improvement
> Components: Kubernetes
> Affects Versions: 3.5.8, 4.1.1
> Reporter: Filip Darmanovic
> Priority: Trivial
> Labels: features, pull-request-available
>
> Most cloud providers today provide kubernetes storageClasses with allowVolumeExpansion set to true. This, paired with a PVC monitoring and scaling service like the [Kubernetes Volume Autoscaler|[https://github.com/DevOps-Nirvana/Kubernetes-Volume-Autoscaler]] allows the user to provision PVCs that can expand with growing storage requirements, saving costs by not over-provisioning. This expansion is done by simply increasing the storage request in the PVC's definition.
> This approach however, presents a problem in the current code base, as there is a check in the replacePVCsIfNeeded function that matches the desired size with the existing pod definition, which would suddenly be ineligible for re-use after being expanded.
> I propose a simple 1-character change that would allow disks with the same *or greater* size to be re-used. I will shortly make a PR with this change.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org