You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "LuciferYang (via GitHub)" <gi...@apache.org> on 2023/02/04 16:56:46 UTC
[GitHub] [spark] LuciferYang commented on a diff in pull request #39884: [SPARK-42344][K8S] Change the default size of the CONFIG_MAP_MAXSIZE
LuciferYang commented on code in PR #39884:
URL: https://github.com/apache/spark/pull/39884#discussion_r1096560316
##########
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala:
##########
@@ -158,11 +158,10 @@ private[spark] object Config extends Logging {
val CONFIG_MAP_MAXSIZE =
ConfigBuilder("spark.kubernetes.configMap.maxSize")
- .doc("Max size limit for a config map. This is configurable as per" +
- " https://etcd.io/docs/v3.4.0/dev-guide/limit/ on k8s server end.")
- .version("3.1.0")
+ .doc("Max size limit for a config map. Must have at most 1048576 bytes")
Review Comment:
If the K8s has a official definition of this, I think we should add the corresponding document to the `doc`
##########
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala:
##########
@@ -158,11 +158,10 @@ private[spark] object Config extends Logging {
val CONFIG_MAP_MAXSIZE =
ConfigBuilder("spark.kubernetes.configMap.maxSize")
- .doc("Max size limit for a config map. This is configurable as per" +
- " https://etcd.io/docs/v3.4.0/dev-guide/limit/ on k8s server end.")
- .version("3.1.0")
+ .doc("Max size limit for a config map. Must have at most 1048576 bytes")
Review Comment:
If K8s has a official definition of this, I think we should add the corresponding document to the `doc`
--
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