dongjoon-hyun commented on a change in pull request #31790: URL: https://github.com/apache/spark/pull/31790#discussion_r659263233
########## File path: resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala ########## @@ -292,6 +292,14 @@ private[spark] object Config extends Logging { .checkValue(value => value > 0, "Allocation batch size should be a positive integer") .createWithDefault(5) + val KUBERNETES_MAX_PENDING_PODS = + ConfigBuilder("spark.kubernetes.allocation.max.pendingPods") + .doc("Maximum number of pending pods allowed during executor alloction for this application.") + .version("3.2.0") + .intConf + .checkValue(value => value > 0, "Maximum number of pending pods should be a positive integer") + .createWithDefault(150) Review comment: I'd like to propose to fallback to `spark.kubernetes.allocation.batch.size` by default. WDYT, @attilapiros and @holdenk ? -- 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-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org