You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/08/02 01:09:49 UTC
[GitHub] [spark] aaruna commented on a change in pull request #33508: [SPARK-36058][K8S] Add support for statefulset APIs in K8s
aaruna commented on a change in pull request #33508:
URL: https://github.com/apache/spark/pull/33508#discussion_r680597333
##########
File path: resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala
##########
@@ -323,6 +323,15 @@ private[spark] object Config extends Logging {
.stringConf
.createOptional
+ val KUBERNETES_ALLOCATION_PODSALLOCATOR =
+ ConfigBuilder("spark.kubernetes.allocation.podsallocator")
+ .doc("Allocator to use for pods. Possible values are direct (the default) and statefulset." +
+ "Future version may add Job or replicaset.")
+ .version("3.3.0")
+ .stringConf
+ .checkValues(Set("direct", "statefulset"))
Review comment:
+1 for developer API so as to enable the usage of other options (like replicaset or Job) as applicable to other developers.
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org