Yikun commented on a change in pull request #35422:
URL: https://github.com/apache/spark/pull/35422#discussion_r800606221



##########
File path: 
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala
##########
@@ -675,6 +676,20 @@ private[spark] object Config extends Logging {
       .checkValue(value => value > 0, "Maximum number of pending pods should 
be a positive integer")
       .createWithDefault(Int.MaxValue)
 
+  val KUBERNETES_JOB_MIN_MEMORY = 
ConfigBuilder("spark.kubernetes.job.min.memory")

Review comment:
       We had some discussion on this with Yunikorn and Volcano team, we 
finally think `spark.kubernetes.job` is better than  `spark.kubernetes.xxx.job`:
   - There are many other common arguments like queue, priorityClass, for this 
general parameter, we can extract to avoid 
   redundant of configuration.
   - Other customized scheduler can also use this configuration directly.




-- 
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]

Reply via email to