srowen commented on a change in pull request #26088: [SPARK-29436][K8S] Support
executor for selecting scheduler through scheduler name in the case of k8s
multi-scheduler scenario
URL: https://github.com/apache/spark/pull/26088#discussion_r335093176
##########
File path:
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/features/BasicExecutorFeatureStep.scala
##########
@@ -216,6 +216,11 @@ private[spark] class BasicExecutorFeatureStep(
.endSpec()
.build()
+ val schedulerName = kubernetesConf.get(KUBERNETES_EXECUTOR_SCHEDULER_NAME)
+ if (schedulerName.nonEmpty) {
Review comment:
This is fine. Also:
`kubernetesConf.get(KUBERNETES_EXECUTOR_SCHEDULER_NAME).foreach(executorPod.getSpec.setSchedulerName)`
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]