dongjoon-hyun commented on a change in pull request #33563:
URL: https://github.com/apache/spark/pull/33563#discussion_r678730879
##########
File path:
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala
##########
@@ -395,6 +395,14 @@ private[spark] object Config extends Logging {
" positive time value.")
.createWithDefaultString("30s")
+ val KUBERNETES_EXECUTOR_API_POLLING_WITH_RESOURCE_VERSION =
+ ConfigBuilder("spark.kubernetes.executor.enablePollingWithResourceVersion")
+ .doc("If true, `resourceVersion` is set with `0` during invoking pod
listing APIs " +
+ "in order to allow API Server-side caching. This should be used
carefully.")
+ .version("3.3.0")
+ .booleanConf
+ .createWithDefault(false)
Review comment:
The default is `false` in order to preserve the previous behavior which
requests the consistent data.
--
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]