viirya commented on a change in pull request #33563:
URL: https://github.com/apache/spark/pull/33563#discussion_r678858087
##########
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.")
Review comment:
Now we replace only when we receive a monotonically increased
resourceVersion. Is `This should be used carefully` still necessary?
--
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]