wangyang0918 commented on a change in pull request #13644:
URL: https://github.com/apache/flink/pull/13644#discussion_r506226269
##########
File path:
flink-kubernetes/src/main/java/org/apache/flink/kubernetes/configuration/KubernetesConfigOptions.java
##########
@@ -258,6 +258,13 @@
.withDescription("If configured, Flink will add
\"resources.limits.<config-key>\" and \"resources.requests.<config-key>\" " +
"to the main container of TaskExecutor and set
the value to the value of " +
ExternalResourceOptions.EXTERNAL_RESOURCE_AMOUNT.key() + ".");
+ public static final ConfigOption<Integer> KUBERNETES_MAX_RETRY_ATTEMPTS
=
+ key("kubernetes.client.max-retry-attempts")
+ .intType()
+ .defaultValue(5)
+ .withDescription("Defines the number of Kubernetes
resources update operation retries before the client " +
+ "gives up. For example, updating the
ConfigMap.");
+
Review comment:
Currently, the retry attempt only applied to the `checkAndUpdate`
transactional operation. So the new name makes sense. Will update it.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]