viirya commented on a change in pull request #32564: URL: https://github.com/apache/spark/pull/32564#discussion_r633253959
########## File path: resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala ########## @@ -70,6 +70,15 @@ private[spark] object Config extends Logging { .booleanConf .createWithDefault(false) + val KUBERNETES_DRIVER_REUSE_PVC = + ConfigBuilder("spark.kubernetes.driver.reusePersistentVolumeClaim") + .doc("If true, driver pod tries to reuse driver-owned on-demand persistent volume claims " + + "of the deleted executor pods. This can be useful to reduce executor pod creation delay. " + + s"This requires ${KUBERNETES_DRIVER_OWN_PVC.key}=true.") Review comment: Should we add more description? For example, like the description, the PVC of removed executors may not be returned immediately, so it is possibly new PVC will still be created. -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org