File tree 3 files changed +6
-4
lines changed
docs/layouts/shortcodes/generated
flink-kubernetes-operator-autoscaler/src
main/java/org/apache/flink/kubernetes/operator/autoscaler/config
test/java/org/apache/flink/kubernetes/operator/autoscaler
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 70
70
</ tr >
71
71
< tr >
72
72
< td > < h5 > kubernetes.operator.job.autoscaler.scale-up.max-factor</ h5 > </ td >
73
- < td style ="word-wrap: break-word; "> 2.147483647E9 </ td >
73
+ < td style ="word-wrap: break-word; "> 100000.0 </ td >
74
74
< td > Double</ td >
75
75
< td > Max scale up factor. 2.0 means job can only be scaled up with 200% of the current parallelism.</ td >
76
76
</ tr >
77
77
< tr >
78
78
< td > < h5 > kubernetes.operator.job.autoscaler.scaling.effectiveness.detection.enabled</ h5 > </ td >
79
- < td style ="word-wrap: break-word; "> true </ td >
79
+ < td style ="word-wrap: break-word; "> false </ td >
80
80
< td > Boolean</ td >
81
81
< td > Whether to enable detection of ineffective scaling operations and allowing the autoscaler to block further scale ups.</ td >
82
82
</ tr >
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ private static ConfigOptions.OptionBuilder autoScalerConfig(String key) {
102
102
public static final ConfigOption <Double > MAX_SCALE_UP_FACTOR =
103
103
autoScalerConfig ("scale-up.max-factor" )
104
104
.doubleType ()
105
- .defaultValue (( double ) Integer . MAX_VALUE )
105
+ .defaultValue (100000. )
106
106
.withDescription (
107
107
"Max scale up factor. 2.0 means job can only be scaled up with 200% of the current parallelism." );
108
108
@@ -130,7 +130,7 @@ private static ConfigOptions.OptionBuilder autoScalerConfig(String key) {
130
130
public static final ConfigOption <Boolean > SCALING_EFFECTIVENESS_DETECTION_ENABLED =
131
131
autoScalerConfig ("scaling.effectiveness.detection.enabled" )
132
132
.booleanType ()
133
- .defaultValue (true )
133
+ .defaultValue (false )
134
134
.withDescription (
135
135
"Whether to enable detection of ineffective scaling operations and allowing the autoscaler to block further scale ups." );
136
136
Original file line number Diff line number Diff line change @@ -245,6 +245,7 @@ public void testScaleDownAfterScaleUpDetection() {
245
245
@ Test
246
246
public void testIneffectiveScalingDetection () {
247
247
var op = new JobVertexID ();
248
+ conf .set (AutoScalerOptions .SCALING_EFFECTIVENESS_DETECTION_ENABLED , true );
248
249
conf .set (AutoScalerOptions .TARGET_UTILIZATION , 1. );
249
250
conf .set (AutoScalerOptions .SCALE_UP_GRACE_PERIOD , Duration .ZERO );
250
251
@@ -312,6 +313,7 @@ public void testIneffectiveScalingDetection() {
312
313
@ Test
313
314
public void testSendingIneffectiveScalingEvents () {
314
315
var jobVertexID = new JobVertexID ();
316
+ conf .set (AutoScalerOptions .SCALING_EFFECTIVENESS_DETECTION_ENABLED , true );
315
317
conf .set (AutoScalerOptions .TARGET_UTILIZATION , 1.0 );
316
318
conf .set (AutoScalerOptions .SCALE_UP_GRACE_PERIOD , Duration .ZERO );
317
319
You can’t perform that action at this time.
0 commit comments