Yikun commented on code in PR #36433:
URL: https://github.com/apache/spark/pull/36433#discussion_r867285741
##########
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala:
##########
@@ -463,6 +463,25 @@ private[spark] object Config extends Logging {
.checkValue(interval => interval > 0, s"Logging interval must be a
positive time value.")
.createWithDefaultString("1s")
+ val KUBERNETES_EXECUTOR_ENABLE_API_POLLING =
+ ConfigBuilder("spark.kubernetes.executor.enableApiPolling")
+ .doc("If Spark should poll Kubernetes for executor pod status. " +
+ "You should leave this enabled unless you're encountering performance
issues with your etcd.")
+ .version("3.3.0")
Review Comment:
3.4.0?
##########
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala:
##########
@@ -463,6 +463,25 @@ private[spark] object Config extends Logging {
.checkValue(interval => interval > 0, s"Logging interval must be a
positive time value.")
.createWithDefaultString("1s")
+ val KUBERNETES_EXECUTOR_ENABLE_API_POLLING =
+ ConfigBuilder("spark.kubernetes.executor.enableApiPolling")
+ .doc("If Spark should poll Kubernetes for executor pod status. " +
+ "You should leave this enabled unless you're encountering performance
issues with your etcd.")
+ .version("3.3.0")
+ .booleanConf
+ .internal()
+ .createWithDefault(true)
+
+ val KUBERNETES_EXECUTOR_ENABLE_API_WATCHER =
+ ConfigBuilder("spark.kubernetes.executor.enableApiWatcher")
+ .doc("If Spark should create watchers for executor pod status. " +
+ "You should leave this enabled unless you're encountering performance
issues with your etcd.")
+ .version("3.3.0")
Review Comment:
same
--
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]