Github user galv commented on a diff in the pull request:
https://github.com/apache/spark/pull/21511#discussion_r193944223
--- Diff:
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala
---
@@ -104,6 +104,20 @@ private[spark] object Config extends Logging {
.stringConf
.createOptional
+ val KUBERNETES_EXECUTOR_LIMIT_GPUS =
+ ConfigBuilder("spark.kubernetes.executor.limit.gpus")
+ .doc("Specify the gpu request for each executor pod")
+ .stringConf
+ .createOptional
+
+ val KUBERNETES_EXECUTOR_GPU_PROVIDER =
+ ConfigBuilder("spark.kubernetes.executor.gpu.provider")
+ .doc("Specify the gpu provider for each executor pod")
+ .stringConf
+ .createWithDefault("nvidia.com")
+
+
+
--- End diff --
Style remove two lines here.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]