mxm commented on code in PR #762: URL: https://github.com/apache/flink-kubernetes-operator/pull/762#discussion_r1490814210
########## flink-autoscaler/src/main/java/org/apache/flink/autoscaler/config/AutoScalerOptions.java: ########## @@ -250,6 +251,22 @@ private static ConfigOptions.OptionBuilder autoScalerConfig(String key) { .withDescription( "Max allowed percentage of heap usage during scaling operations. Autoscaling will be paused if the heap usage exceeds this threshold."); + public static final ConfigOption<Boolean> MEMORY_TUNING_ENABLED = + autoScalerConfig("memory.tuning.enabled") + .booleanType() + .defaultValue(false) + .withFallbackKeys(oldOperatorConfigKey("memory.tuning.enabled")) + .withDescription( + "If enabled, the initial amount of memory specified for TaskManagers will be reduced according to the observed needs."); + + public static final ConfigOption<MemorySize> MEMORY_TUNING_MIN_HEAP = + autoScalerConfig("memory.tuning.heap.min") + .memoryType() + .defaultValue(MemorySize.ofMebiBytes(2048L)) + .withFallbackKeys(oldOperatorConfigKey("memory.tuning.heap.min")) + .withDescription( + "The minimum amount of TaskManager memory, if memory tuning is enabled."); Review Comment: Thanks! Not intentional! Addressing this now. -- 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