Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
kubernetes-operator-1.8.0
Description
The ScalingTracking of autoscaler is wrong, it's always greater than AutoScalerOptions#STABILIZATION_INTERVAL.
Reason:
When flink job isStabilizing, ScalingMetricCollector#updateMetrics will return a empty metric history. In the JobAutoScalerImpl#runScalingLogic method, if `collectedMetrics.getMetricHistory().isEmpty()` , we don't update the ScalingTracking.
The default value of AutoScalerOptions#STABILIZATION_INTERVAL is 5 min, so the restartTime is always greater than 5 min.
However, it's quick when we use rescale api.
Attachments
Issue Links
- links to