martin-g commented on a change in pull request #35786:
URL: https://github.com/apache/spark/pull/35786#discussion_r825663186
##########
File path:
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/features/VolcanoFeatureStep.scala
##########
@@ -44,11 +45,12 @@ private[spark] class VolcanoFeatureStep extends
KubernetesDriverCustomFeatureCon
override def getAdditionalPreKubernetesResources(): Seq[HasMetadata] = {
val client = new DefaultVolcanoClient
-
+ // Currently only driver/job-level PodGroup is supported
val template = if (kubernetesConf.isInstanceOf[KubernetesDriverConf]) {
kubernetesConf.get(KUBERNETES_DRIVER_PODGROUP_TEMPLATE_FILE)
} else {
- kubernetesConf.get(KUBERNETES_EXECUTOR_PODGROUP_TEMPLATE_FILE)
+ throw new SparkException("Get additional pre Kubernetes resources is not
supported for " +
Review comment:
```suggestion
throw new
SparkException("VolcanoFeatureStep#getAdditionalPreKubernetesResources() is not
supported for " +
```
--
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]