Yikun commented on a change in pull request #35640:
URL: https://github.com/apache/spark/pull/35640#discussion_r820525316
##########
File path:
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala
##########
@@ -299,6 +300,20 @@ private[spark] object Config extends Logging {
.stringConf
.createOptional
+ val KUBERNETES_JOB_MIN_CPU = ConfigBuilder("spark.kubernetes.job.minCPU")
Review comment:
Yes, this might be a good suggestion for improvement. I also searched in
spark, only `spark.task.cpus` are using `cpu`, and others are using `cores`. I
guess it might be because of the name originally inherited from Yarn.
So, I think `cores` is also fine for me.
--
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]