wangyang0918 commented on code in PR #216:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/216#discussion_r873683935


##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/config/KubernetesOperatorConfigOptions.java:
##########
@@ -143,6 +143,18 @@ public class KubernetesOperatorConfigOptions {
                     .withDescription(
                             "Whether to enable recovery of missing/deleted 
jobmanager deployments. False by default for Flink 1.14, true for newer Flink 
version.");
 
+    public static final ConfigOption<Integer> 
OPERATOR_SAVEPOINT_HISTORY_MAX_COUNT =
+            
ConfigOptions.key("kubernetes.operator.savepoint.history.max.count")
+                    .intType()
+                    .defaultValue(10)
+                    .withDescription("Maximum number of savepoint history 
entries to retain.");
+
+    public static final ConfigOption<Duration> 
OPERATOR_SAVEPOINT_HISTORY_MAX_AGE =

Review Comment:
   Since we are performing a lazy clean-up, the savepoint may live longer than 
the max age.



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to