Commit ebef2014 authored by Daniel Smith's avatar Daniel Smith

Merge pull request #16277 from jszczepkowski/hpa-prop

Fixed resetting last scale time in HPA status.
parents 0a822bb7 de25a3bc
......@@ -160,6 +160,7 @@ func (a *HorizontalController) reconcileAutoscaler(hpa extensions.HorizontalPodA
CurrentReplicas: currentReplicas,
DesiredReplicas: desiredReplicas,
CurrentCPUUtilizationPercentage: currentUtilization,
LastScaleTime: hpa.Status.LastScaleTime,
}
if rescale {
now := unversioned.NewTime(now)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment